##// END OF EJS Templates
config: fix restoreconfig of non existing config...
Pierre-Yves David -
r22037:8665c647 default
parent child Browse files
Show More
@@ -76,7 +76,7 b' class config(object):'
76 # no data before, remove everything
76 # no data before, remove everything
77 section, item = data
77 section, item = data
78 if section in self._data:
78 if section in self._data:
79 del self._data[section][item]
79 self._data[section].pop(item, None)
80 self._source.pop((section, item), None)
80 self._source.pop((section, item), None)
81
81
82 def parse(self, src, data, sections=None, remap=None, include=None):
82 def parse(self, src, data, sections=None, remap=None, include=None):
General Comments 0
You need to be logged in to leave comments. Login now