Ticket #5825: managepath.diff
File managepath.diff, 581 bytes (added by , 16 years ago) |
---|
-
core/management/__init__.py
50 50 try: 51 51 f, path, descr = imp.find_module(part,path) 52 52 except ImportError,e: 53 if os.path.basename(os.getcwd()) != part: 53 realpath = os.path.realpath(sys.argv[0]) 54 (head, tail) = os.path.split(realpath) 55 base = os.path.basename(head) 56 if os.path.basename(head) != part: 54 57 raise e 55 58 56 59 while parts: