##// END OF EJS Templates
Address shell object in magic explicitly.
Fernando Perez -
Show More
@@ -2688,7 +2688,7 b' Defaulting color scheme to \'NoColor\'"""'
2688 2688 from IPython.core.alias import InvalidAliasError
2689 2689
2690 2690 # for the benefit of module completer in ipy_completers.py
2691 del self.db['rootmodules']
2691 del self.shell.db['rootmodules']
2692 2692
2693 2693 path = [os.path.abspath(os.path.expanduser(p)) for p in
2694 2694 os.environ.get('PATH','').split(os.pathsep)]
@@ -2745,8 +2745,7 b' Defaulting color scheme to \'NoColor\'"""'
2745 2745 except InvalidAliasError:
2746 2746 pass
2747 2747 syscmdlist.append(ff)
2748 db = self.db
2749 db['syscmdlist'] = syscmdlist
2748 self.shell.db['syscmdlist'] = syscmdlist
2750 2749 finally:
2751 2750 os.chdir(savedir)
2752 2751
General Comments 0
You need to be logged in to leave comments. Login now