Commit 9992ca92 authored by Aurel's avatar Aurel

oups, wrong typo fix, fix indentation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40357 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c8a10a7f
...@@ -124,7 +124,7 @@ class RelationStringFieldValidator( ...@@ -124,7 +124,7 @@ class RelationStringFieldValidator(
""" """
relation_item_id = field.generate_subfield_key(ITEM_ID, relation_item_id = field.generate_subfield_key(ITEM_ID,
key=key) key=key)
if isinstance(relation_uid_list, (list, tuple): if isinstance(relation_uid_list, (list, tuple)):
try: try:
relation_uid_list = relation_uid_list[0] relation_uid_list = relation_uid_list[0]
except IndexError: except IndexError:
......
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