diff --git a/devstack/env.py b/devstack/env.py index c84d6619..05860ba9 100644 --- a/devstack/env.py +++ b/devstack/env.py @@ -35,7 +35,6 @@ def get(): def set(k, v): #this is really screwy, python is really odd in this area #from http://docs.python.org/library/os.html - #Note Calling putenv() directly does not change os.environ, so it’s better to modify os.environ. if k is not None: os.environ[str(k)] = str(v) diff --git a/devstack/env_rc.py b/devstack/env_rc.py index 441904a7..5b39c2a6 100644 --- a/devstack/env_rc.py +++ b/devstack/env_rc.py @@ -49,6 +49,7 @@ OS_TENANT_NAME = 'demo' OS_USERNAME = 'demo' OS_AUTH_PORT = 5000 +#how we know if a line is an export or if it isn't EXP_PAT = re.compile("^export (.*?)=(.*?)$", re.IGNORECASE)