From f902296a1889f9453ca0080525b8ffc1e21ed997 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sat, 13 Oct 2001 18:34:42 +0000 Subject: Ignore execfile() return value; reported by Neal Norwitz. --- Lib/rexec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12