some corrections in sqlite3 storage

This commit is contained in:
2013-08-21 23:21:28 +02:00
parent b6bb685ca5
commit 1ddd88fc99
5 changed files with 38 additions and 17 deletions

View File

@ -191,7 +191,7 @@ class Settings(object):
:param context: the root config
:param storage: the storage type
- dictionnary -> in memory
- dictionary -> in memory
- sqlite3 -> persistent
"""
# generic owner
@ -271,7 +271,7 @@ class Settings(object):
(never save properties if same has option properties)
"""
if opt is None:
self._p_.setproperties(path, properties)
self._p_.setproperties(None, properties)
else:
if set(opt._properties) == properties:
self._p_.reset_properties(path)
@ -380,7 +380,6 @@ class Settings(object):
# filters the callbacks
setting = Property(self, self._getproperties(opt, path, False), opt, path=path)
descr = self.context.cfgimpl_get_description()
for requires in opt._requires:
matches = False
for require in requires: