|
|
@ -200,7 +200,10 @@ class Config(dict):
|
|
|
|
return False
|
|
|
|
return False
|
|
|
|
e.strerror = 'Unable to load configuration file (%s)' % e.strerror
|
|
|
|
e.strerror = 'Unable to load configuration file (%s)' % e.strerror
|
|
|
|
raise
|
|
|
|
raise
|
|
|
|
|
|
|
|
if obj:
|
|
|
|
return self.from_mapping(obj)
|
|
|
|
return self.from_mapping(obj)
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
return False
|
|
|
|
|
|
|
|
|
|
|
|
def from_mapping(self, *mapping, **kwargs):
|
|
|
|
def from_mapping(self, *mapping, **kwargs):
|
|
|
|
"""Updates the config like :meth:`update` ignoring items with non-upper
|
|
|
|
"""Updates the config like :meth:`update` ignoring items with non-upper
|
|
|
|