Show More
@@ -155,7 +155,7 b' else:' | |||||
155 | if sys.platform == 'win32': |
|
155 | if sys.platform == 'win32': | |
156 | def execfile(fname, glob, loc=None): |
|
156 | def execfile(fname, glob, loc=None): | |
157 | loc = loc if (loc is not None) else glob |
|
157 | loc = loc if (loc is not None) else glob | |
158 |
scripttext = |
|
158 | scripttext = __builtin__.open(fname).read() | |
159 | #compile converts unicode filename to str assuming |
|
159 | #compile converts unicode filename to str assuming | |
160 | #ascii. Let's do the conversion before calling compile |
|
160 | #ascii. Let's do the conversion before calling compile | |
161 | if isinstance(fname, unicode): |
|
161 | if isinstance(fname, unicode): |
General Comments 0
You need to be logged in to leave comments.
Login now