fix a few more minor issues

This commit is contained in:
Dave Halter
2014-01-11 16:14:58 +01:00
parent c6a14a348e
commit d430ef53a7
4 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -436,7 +436,7 @@ def get_modules_containing_name(mods, name):
return load_module(path, source)
# skip non python modules
mods = set(m for m in mods if m.path is None or m.path.endswith('.py'))
mods = set(m for m in mods if not isinstance(m, compiled.PyObject))
mod_paths = set()
for m in mods:
mod_paths.add(m.path)