Fixing bad chars.

This commit is contained in:
Joshua Harlow 2012-02-08 11:03:55 -08:00
parent 18ba58e091
commit f1eaff50b8
2 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,6 @@ def get():
def set(k, v): def set(k, v):
#this is really screwy, python is really odd in this area #this is really screwy, python is really odd in this area
#from http://docs.python.org/library/os.html #from http://docs.python.org/library/os.html
#Note Calling putenv() directly does not change os.environ, so its better to modify os.environ.
if k is not None: if k is not None:
os.environ[str(k)] = str(v) os.environ[str(k)] = str(v)

View File

@ -49,6 +49,7 @@ OS_TENANT_NAME = 'demo'
OS_USERNAME = 'demo' OS_USERNAME = 'demo'
OS_AUTH_PORT = 5000 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) EXP_PAT = re.compile("^export (.*?)=(.*?)$", re.IGNORECASE)