some corrections in sqlite3 storage
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user