Commit a8d66dc6 authored by Fabrice Allain's avatar Fabrice Allain
Browse files

fix: implement setting.get method used within pdbqual tool

parent 1832c26d
......@@ -34,8 +34,8 @@ class Setting(object):
raise KeyError(item)
def get(self, key, default=None):
return self.config[key] if key in self.config else self.args[
key] if key in self.args else default
return self.config[key] if key in self.config else self.args[key] \
if key in self.args else default
def __repr__(self):
return "Setting object\n config: %s\n args : %s" % (self.config,
......
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