diff options
author | Guido van Rossum <guido@python.org> | 1996-05-28 23:34:10 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-05-28 23:34:10 (GMT) |
commit | 3ada87a5088d095dc72250a7eb95f21dcd85809d (patch) | |
tree | ddb37d020db39ff984f0112353bdc19cf0cc1b6b /Lib/rexec.py | |
parent | f4aaf862fd3f29cc6a3409186dc2f7421ca0ba89 (diff) | |
download | cpython-3ada87a5088d095dc72250a7eb95f21dcd85809d.zip cpython-3ada87a5088d095dc72250a7eb95f21dcd85809d.tar.gz cpython-3ada87a5088d095dc72250a7eb95f21dcd85809d.tar.bz2 |
fix typo in load_dynamic
Diffstat (limited to 'Lib/rexec.py')
-rw-r--r-- | Lib/rexec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rexec.py b/Lib/rexec.py index 975bee0..b4ec0f2 100644 --- a/Lib/rexec.py +++ b/Lib/rexec.py @@ -173,7 +173,7 @@ class RExec(ihooks._Verbose): if name not in self.ok_dynamic_modules: raise ImportError, "untrusted dynamic module: %s" % name if sys.modules.has_key(name): - src = sys.modules[key] + src = sys.modules[name] else: import imp src = imp.load_dynamic(name, filename, file) |