Commit f733f8f8 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Typo fixed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10123 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent be8800b5
...@@ -185,7 +185,7 @@ class ERP5TypeInformation( FactoryTypeInformation, ...@@ -185,7 +185,7 @@ class ERP5TypeInformation( FactoryTypeInformation,
if hasattr(container, 'isTempObject') and container.isTempObject(): if hasattr(container, 'isTempObject') and container.isTempObject():
factory_name = self.factory factory_name = self.factory
factory_name.replace('add', 'newTemp') factory_name.replace('add', 'newTemp')
m = getattr(p, factory_name, None)g m = getattr(p, factory_name, None)
else: else:
m = getattr(p, self.factory, None) m = getattr(p, self.factory, None)
if m is None: if m is None:
......
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