Show More
@@ -1786,8 +1786,9 b' Currently the magic system has the following functions:\\n"""' | |||||
1786 | # Start file run |
|
1786 | # Start file run | |
1787 | print "NOTE: Enter 'c' at the", |
|
1787 | print "NOTE: Enter 'c' at the", | |
1788 | print "%s prompt to start your script." % deb.prompt |
|
1788 | print "%s prompt to start your script." % deb.prompt | |
|
1789 | ns = {'execfile': py3compat.execfile, 'prog_ns': prog_ns} | |||
1789 | try: |
|
1790 | try: | |
1790 |
deb.run('execfile("%s")' % filename, |
|
1791 | deb.run('execfile("%s", prog_ns)' % filename, ns) | |
1791 |
|
1792 | |||
1792 | except: |
|
1793 | except: | |
1793 | etype, value, tb = sys.exc_info() |
|
1794 | etype, value, tb = sys.exc_info() |
General Comments 0
You need to be logged in to leave comments.
Login now