style cleanup
This commit is contained in:
@@ -256,7 +256,7 @@ def module_names(path, recursive=False):
|
||||
elif filename.endswith(".py") and filename != "__init__.py":
|
||||
fullpath = join(path, filename)
|
||||
modules.append((filename[0:-3], fullpath))
|
||||
elif ("." not in filename):
|
||||
elif "." not in filename:
|
||||
directory = join(path, filename)
|
||||
fullpath = join(directory, "__init__.py")
|
||||
if isfile(fullpath):
|
||||
|
||||
Reference in New Issue
Block a user