diff options
Diffstat (limited to 'Lib/site.py')
| -rw-r--r-- | Lib/site.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/site.py b/Lib/site.py index 0cf19cd349..1513818abd 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -135,7 +135,7 @@ def addpackage(sitedir, name, known_paths): if line.startswith("#"): continue if line.startswith("import"): - exec line + exec(line) continue line = line.rstrip() dir, dircase = makepath(sitedir, line) |
