Commit 724648d9 authored by cpomies's avatar cpomies
Browse files

Correction of acces to preconditions environment variable

parent 412e951c
......@@ -90,7 +90,7 @@ class Script(LbUtils.Script.PlainScript):
if os.environ.has_key('preconditions') \
and os.environ['preconditions'] != '':
preconds = dict(os.environ.has_key('preconditions'))
preconds = dict(os.environ['preconditions'])
else:
preconds = parseConfigFile(self.args[0])
......
Supports Markdown
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