style cleanup

This commit is contained in:
2012-08-17 18:36:20 +00:00
parent e9caa21830
commit b0371f053c
9 changed files with 12 additions and 12 deletions

View File

@@ -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):