micropython/__init__.py | raw changeset files shortlog | syspython-as-target |
1.1 --- a/micropython/__init__.py Sat May 10 17:26:04 2014 +0200 1.2 +++ b/micropython/__init__.py Sun Jun 01 23:46:54 2014 +0200 1.3 @@ -842,6 +842,10 @@ 1.4 # Stop descending if no package was found. 1.5 1.6 if not d: 1.7 + if path != path_so_far: 1.8 + if self.verbose: 1.9 + print >>sys.stderr, "Not found (%s)" % p 1.10 + return None 1.11 break 1.12 1.13 # Return either the deepest or the uppermost module.