Show More
@@ -1715,8 +1715,9 b' Currently the magic system has the following functions:\\n"""' | |||||
1715 | # Start file run |
|
1715 | # Start file run | |
1716 | print "NOTE: Enter 'c' at the", |
|
1716 | print "NOTE: Enter 'c' at the", | |
1717 | print "%s prompt to start your script." % deb.prompt |
|
1717 | print "%s prompt to start your script." % deb.prompt | |
|
1718 | ns = {'execfile': py3compat.execfile, 'prog_ns': prog_ns} | |||
1718 | try: |
|
1719 | try: | |
1719 |
deb.run('execfile("%s")' % filename, |
|
1720 | deb.run('execfile("%s", prog_ns)' % filename, ns) | |
1720 |
|
1721 | |||
1721 | except: |
|
1722 | except: | |
1722 | etype, value, tb = sys.exc_info() |
|
1723 | etype, value, tb = sys.exc_info() |
General Comments 0
You need to be logged in to leave comments.
Login now