summaryrefslogtreecommitdiffstats
path: root/Lib/rexec.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/rexec.py')
-rw-r--r--Lib/rexec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rexec.py b/Lib/rexec.py
index cece544..411fcc5 100644
--- a/Lib/rexec.py
+++ b/Lib/rexec.py
@@ -259,7 +259,7 @@ class RExec(ihooks._Verbose):
def r_execfile(self, file):
m = self.add_module('__main__')
- return execfile(file, m.__dict__)
+ execfile(file, m.__dict__)
def r_import(self, mname, globals={}, locals={}, fromlist=[]):
return self.importer.import_module(mname, globals, locals, fromlist)