add imp_meta

This commit is contained in:
Emmanuel Garette 2013-10-15 18:23:36 +02:00
parent feeb9842f5
commit b606d23801
2 changed files with 3 additions and 2 deletions

View File

@ -537,7 +537,7 @@ class _CommonConfig(SubConfig):
for subclass in self.__class__.__mro__: for subclass in self.__class__.__mro__:
if subclass is not object: if subclass is not object:
slots.update(subclass.__slots__) slots.update(subclass.__slots__)
slots -= frozenset(['_impl_context', '__weakref__']) slots -= frozenset(['_impl_context', '_impl_meta', '__weakref__'])
state = {} state = {}
for slot in slots: for slot in slots:
try: try:
@ -564,6 +564,7 @@ class _CommonConfig(SubConfig):
storage = get_storage(test=self._impl_test, **state['_storage']) storage = get_storage(test=self._impl_test, **state['_storage'])
self._impl_values._impl_setstate(storage) self._impl_values._impl_setstate(storage)
self._impl_settings._impl_setstate(storage) self._impl_settings._impl_setstate(storage)
self._impl_meta = None
# ____________________________________________________________ # ____________________________________________________________

View File

@ -79,7 +79,7 @@ msgstr "l'attribut {2} de l'objet '{0}' ({1}) est en lecture seule"
#: tiramisu/option.py:142 tiramisu/value.py:360 #: tiramisu/option.py:142 tiramisu/value.py:360
msgid "information's item not found: {0}" msgid "information's item not found: {0}"
msgstr "aucune config spécifié alors que c'est nécessaire" msgstr "aucune config spécifiée alors que c'est nécessaire"
#: tiramisu/option.py:204 #: tiramisu/option.py:204
msgid "cannot serialize Option, only in OptionDescription" msgid "cannot serialize Option, only in OptionDescription"