Ignore execfile() return value; reported by Neal Norwitz.

This commit is contained in:
Fred Drake 2001-10-13 18:34:42 +00:00
parent 95b0eb7cb3
commit f902296a18
1 changed files with 1 additions and 1 deletions

View 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)