Changed runs of 8 spaces to tab -- to satisfy the tab nanny.
This commit is contained in:
parent
068ad97330
commit
e614fb12a0
|
@ -44,12 +44,12 @@ from os import unlink
|
|||
|
||||
def findfile(file, here=__file__):
|
||||
import os
|
||||
if os.path.isabs(file):
|
||||
if os.path.isabs(file):
|
||||
return file
|
||||
import sys
|
||||
path = sys.path
|
||||
import sys
|
||||
path = sys.path
|
||||
path = [os.path.dirname(here)] + path
|
||||
for dn in path:
|
||||
fn = os.path.join(dn, file)
|
||||
if os.path.exists(fn): return fn
|
||||
return file
|
||||
for dn in path:
|
||||
fn = os.path.join(dn, file)
|
||||
if os.path.exists(fn): return fn
|
||||
return file
|
||||
|
|
Loading…
Reference in New Issue