summaryrefslogtreecommitdiffstats
path: root/Lib/runpy.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-03-25 01:50:43 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-03-25 01:50:43 (GMT)
commite33901eb2b196149eab06f2943256e07b494fbb1 (patch)
tree81825c6becdae54bd24e7d5d744d9a87f9b0a0a8 /Lib/runpy.py
parent1a9fac09377b1da9e86fd4fbb80257b49623d984 (diff)
downloadcpython-e33901eb2b196149eab06f2943256e07b494fbb1.zip
cpython-e33901eb2b196149eab06f2943256e07b494fbb1.tar.gz
cpython-e33901eb2b196149eab06f2943256e07b494fbb1.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/runpy.py')
-rwxr-xr-xLib/runpy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/runpy.py b/Lib/runpy.py
index 496b095..0af9a50 100755
--- a/Lib/runpy.py
+++ b/Lib/runpy.py
@@ -387,9 +387,9 @@ def _run_module_code(code, init_globals=None,
finally:
sys.argv[0] = saved_argv0
if restore_module:
- sys.modules[mod_name] = saved_module
+ sys.modules[mod_name] = saved_module
else:
- del sys.modules[mod_name]
+ del sys.modules[mod_name]
# Copy the globals of the temporary module, as they
# may be cleared when the temporary module goes away
return mod_globals.copy()