Commit cec4d088 by Brian Coca

now prevents option override

parent cdefeb6d
......@@ -44,9 +44,9 @@ def get_config(p, section, key, env_var, default, boolean=False, integer=False,
if value:
if integer:
value = int(value)
if floating:
elif floating:
value = float(value)
if islist:
elif islist:
if isinstance(value, basestring):
value = [x.strip() for x in value.split(',')]
return value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment