Commit 7b3bd742 authored by Nicolas Wavrant's avatar Nicolas Wavrant

recipe-zeroknown: Read verifies that config file exists

parent a36610b7
......@@ -92,8 +92,8 @@ class ReadRecipe(GenericBaseRecipe):
self.parser = ConfigParser.ConfigParser()
if os.path.exists(self.path):
self.parser.read(self.path)
for section in self.parser.sections():
for key ,value in self.parser.items(section):
options[key] = value
for section in self.parser.sections():
for key ,value in self.parser.items(section):
options[key] = value
install = update = lambda self: []
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