summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-13 18:34:42 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-13 18:34:42 (GMT)
commitf902296a1889f9453ca0080525b8ffc1e21ed997 (patch)
tree0e62c53a5f07f8ff6829543d65bf0b974a2064bb /Lib
parent95b0eb7cb3e6ccfefead542320b9a5fd659421d2 (diff)
downloadcpython-f902296a1889f9453ca0080525b8ffc1e21ed997.zip
cpython-f902296a1889f9453ca0080525b8ffc1e21ed997.tar.gz
cpython-f902296a1889f9453ca0080525b8ffc1e21ed997.tar.bz2
Ignore execfile() return value; reported by Neal Norwitz.
Diffstat (limited to 'Lib')
-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)