]> granicus.if.org Git - python/commitdiff
Ignore execfile() return value; reported by Neal Norwitz.
authorFred Drake <fdrake@acm.org>
Sat, 13 Oct 2001 18:34:42 +0000 (18:34 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 13 Oct 2001 18:34:42 +0000 (18:34 +0000)
Lib/rexec.py

index cece5446d8d3c771db79bfd53f05155e716a8752..411fcc5e0680869c6f3126ad40b9e14281787542 100644 (file)
@@ -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)