Commit ce335a84 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix loading of Portal Type after renaming of SynchronisationTool.

parent 4ff41057
......@@ -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