Commit 0db4c512 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Jérome Perrin

fixup! ValueConfiguratorItem

parent 93e1b78c
...@@ -71,7 +71,7 @@ class ValueConfiguratorItem(ConfiguratorItemMixin, XMLObject): ...@@ -71,7 +71,7 @@ class ValueConfiguratorItem(ConfiguratorItemMixin, XMLObject):
if relative_path is not None and document is not None: if relative_path is not None and document is not None:
document = document.unrestrictedTraverse(relative_path, None) document = document.unrestrictedTraverse(relative_path, None)
if document is not None: if document is not None:
for property_id, value in property_value_dict: for property_id, value in property_value_dict.items():
if document.getProperty(property_id) != value: if document.getProperty(property_id) != value:
error_list.append(self._createConstraintMessage( error_list.append(self._createConstraintMessage(
'%s: property "%s" should be changed to value "%s"' %( '%s: property "%s" should be changed to value "%s"' %(
......
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