Diff of /pyke/knowledge_engine.py [e56162] .. [495079]  Maximize  Restore

  Switch to side-by-side view

--- a/pyke/knowledge_engine.py
+++ b/pyke/knowledge_engine.py
@@ -482,7 +482,7 @@
                 else:
                     ans = path, remainder_package_name, '', True
         parent_path, dir = os.path.split(path)
-        if parent_path == '' or parent_path == '/' and dir == '':
+        if parent_path == '' or parent_path == path:
             break
         if _is_package_dir(path):
             if package_name:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks