branch | stable |
changeset 2906 | 677fa98659a8 |
parent 2836 | b94b9c48111f |
child 2968 | 0e3460341023 |
child 3036 | 26827ed46860 |
child 3054 | 8b3b243e308e |
--- a/vregistry.py Tue Aug 18 17:10:08 2009 +0200 +++ b/vregistry.py Tue Aug 18 17:10:50 2009 +0200 @@ -207,7 +207,9 @@ self.config = config def reset(self, path=None, force_reload=None): - self.clear() + # don't use self.clear, we want to keep existing subdictionaries + for subdict in self.itervalues(): + subdict.clear() self._lastmodifs = {} def __getitem__(self, name):