fix some of my typos, thanks Arfrever
This commit is contained in:
parent
5ae04397bd
commit
761a95e542
|
@ -474,10 +474,10 @@ class Session(FSCollector):
|
||||||
mod = None
|
mod = None
|
||||||
path = [os.path.abspath('.')] + sys.path
|
path = [os.path.abspath('.')] + sys.path
|
||||||
for name in x.split('.'):
|
for name in x.split('.'):
|
||||||
# ignore anything thats not a propper name here
|
# ignore anything that's not a proper name here
|
||||||
# else something like --pyargs will mess up '.'
|
# else something like --pyargs will mess up '.'
|
||||||
# since imp.find_module will actually sometimes works for it
|
# since imp.find_module will actually sometimes work for it
|
||||||
# but its supposed to be considered a filesystem path
|
# but it's supposed to be considered a filesystem path
|
||||||
# not a package
|
# not a package
|
||||||
if name_re.match(name) is None:
|
if name_re.match(name) is None:
|
||||||
return x
|
return x
|
||||||
|
|
Loading…
Reference in New Issue