Show More
@@ -303,9 +303,6 b' class InteractiveShellApp(Configurable):' | |||
|
303 | 303 | # were run from a system shell. |
|
304 | 304 | save_argv = sys.argv |
|
305 | 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 | 306 | try: |
|
310 | 307 | if os.path.isfile(full_filename): |
|
311 | 308 | self.log.info("Running file in user namespace: %s" % |
General Comments 0
You need to be logged in to leave comments.
Login now