changeset 7:899400f59ee1

fix issue of module path
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 29 Mar 2011 00:12:31 +0800
parents 90c237b681f9
children 3d4aa7cd8fe2
files shada/pysh.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/shada/pysh.py	Tue Mar 29 00:09:48 2011 +0800
+++ b/shada/pysh.py	Tue Mar 29 00:12:31 2011 +0800
@@ -36,7 +36,7 @@
     prev_globals = prev_frame.f_globals
 
     ns = dict(prev_locals)
-    ns['py'] = 'python -m shell_agent'
+    ns['py'] = 'python -m shada.shell_agent'
     if inplace:
         inplace_blks = []
         ns['terminate_shell'] = terminate_shell_inplace