diff --git a/Lib/pdb.py b/Lib/pdb.py index de769bb87a6b..fae6b2c60441 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py @@ -893,4 +893,4 @@ def help(): # Insert script directory in front of module search path sys.path.insert(0, os.path.dirname(filename)) - run('execfile(' + `filename` + ')', {'__name__': '__main__'}) + run('execfile(' + `filename` + ')')