##// END OF EJS Templates
remove PY3 var
Srinivas Reddy Thatiparthy -
Show More
@@ -303,9 +303,6 b' class InteractiveShellApp(Configurable):'
303 # were run from a system shell.
303 # were run from a system shell.
304 save_argv = sys.argv
304 save_argv = sys.argv
305 sys.argv = [full_filename] + self.extra_args[1:]
305 sys.argv = [full_filename] + self.extra_args[1:]
306 # protect sys.argv from potential unicode strings on Python 2:
307 if not py3compat.PY3:
308 sys.argv = [ py3compat.cast_bytes(a) for a in sys.argv ]
309 try:
306 try:
310 if os.path.isfile(full_filename):
307 if os.path.isfile(full_filename):
311 self.log.info("Running file in user namespace: %s" %
308 self.log.info("Running file in user namespace: %s" %
General Comments 0
You need to be logged in to leave comments. Login now