Show More
@@ -2469,7 +2469,7 b' class InteractiveShell(SingletonConfigurable):' | |||||
2469 | # Python inserts the script's directory into sys.path |
|
2469 | # Python inserts the script's directory into sys.path | |
2470 | dname = os.path.dirname(fname) |
|
2470 | dname = os.path.dirname(fname) | |
2471 |
|
2471 | |||
2472 | with prepended_to_syspath(dname): |
|
2472 | with prepended_to_syspath(dname), self.builtin_trap: | |
2473 | try: |
|
2473 | try: | |
2474 | glob, loc = (where + (None, ))[:2] |
|
2474 | glob, loc = (where + (None, ))[:2] | |
2475 | py3compat.execfile( |
|
2475 | py3compat.execfile( |
General Comments 0
You need to be logged in to leave comments.
Login now