1
0
forked from VimPlug/jedi

make it easier to debug bugs like #220, in dynamic param searching

This commit is contained in:
David Halter
2013-08-11 20:56:01 +04:30
parent f93226420e
commit 6179389df8

View File

@@ -109,7 +109,8 @@ def get_directory_modules_for_name(mods, name):
if entry.endswith('.py'):
paths.add(d + os.path.sep + entry)
for p in paths:
for p in sorted(paths):
# make testing easier, sort it - same results on every interpreter
c = check_python_file(p)
if c is not None and c not in mods:
yield c