Commit b78d996c authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix loading of Portal Type after renaming of SynchronisationTool.

parent d3a41b46
......@@ -43,7 +43,8 @@ class ERP5BaseBroken(Broken, ERP5Base):
def __getattr__(self, name):
try:
return self.__dict__['__Broken_state__'][name]
except KeyError:
# TypeError: SynchronizationTool => SynchronisationTool
except (KeyError, TypeError):
raise AttributeError("state of broken %r object has no %r key"
% (self.__class__.__name__, name))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment