diff options
author | Fred Drake <fdrake@acm.org> | 2001-10-13 18:34:42 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-10-13 18:34:42 (GMT) |
commit | f902296a1889f9453ca0080525b8ffc1e21ed997 (patch) | |
tree | 0e62c53a5f07f8ff6829543d65bf0b974a2064bb /Lib | |
parent | 95b0eb7cb3e6ccfefead542320b9a5fd659421d2 (diff) | |
download | cpython-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.py | 2 |
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) |