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