Author: mattip <[email protected]>
Branch: pythonoptimize-env
Changeset: r77338:c804f27ff1ea
Date: 2015-05-15 18:25 +0300
http://bitbucket.org/pypy/pypy/changeset/c804f27ff1ea/
Log: missed import
diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py
--- a/pypy/interpreter/app_main.py
+++ b/pypy/interpreter/app_main.py
@@ -416,6 +416,7 @@
def parse_env(name, key, options):
''' Modify options inplace if name exists in os.environ
'''
+ import os
v = os.getenv(name)
if v:
options[key] = max(1, options[key])
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit