Commit 870235a6 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix testERP5eGov.

parent 1b1859b9
......@@ -754,10 +754,14 @@ class PDFTypeInformation(ERP5TypeInformation):
except AttributeError:
return property_sheet_list
property_sheet = self.getPortalObject().portal_property_sheets.newContent(
id=self.__name__.replace(' ', ''),
portal_type='Property Sheet',
temp_object=True)
try:
property_sheet = self.getPortalObject().portal_property_sheets.newContent(
id=self.__name__.replace(' ', ''),
portal_type='Property Sheet',
temp_object=True)
except AttributeError:
return property_sheet_list
for page_content in parsed_scribus_iterator:
for field_name, fields_values in page_content:
......
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