Commit ecc70110 authored by ibuler's avatar ibuler

[Update] 修改conf.py

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