commit | f902296a1889f9453ca0080525b8ffc1e21ed997 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Sat Oct 13 18:34:42 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Sat Oct 13 18:34:42 2001 +0000 |
tree | 0e62c53a5f07f8ff6829543d65bf0b974a2064bb | |
parent | 95b0eb7cb3e6ccfefead542320b9a5fd659421d2 [diff] |
Ignore execfile() return value; reported by Neal Norwitz.
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 @@ 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)