Forgot level

This commit is contained in:
Marcus Stoegbauer 2013-01-14 22:24:37 +00:00
parent 6c339db86b
commit 4e609856c3

View File

@ -56,7 +56,7 @@ class Conf(object):
# if debug # if debug
if os.environ.has_key(varname): if os.environ.has_key(varname):
if self.debug: if self.debug:
self.debug.debug("%s exists in environment, replacing with %s." % (varname, os.environ[varname])) self.debug.debug("%s exists in environment, replacing with %s." % (varname, os.environ[varname]), 3)
# if debug # if debug
self.set(s, i, val.replace("$"+varname, os.environ[varname])) self.set(s, i, val.replace("$"+varname, os.environ[varname]))
# if has_key # if has_key