Commit a3d424e9 authored by Julien Muchembled's avatar Julien Muchembled

Fix typo in ListBox validation code

This fixes a regression introduced in
commit f36260d2
("Code clean up in ListBox & EditorField").
parent b2bc1d39
...@@ -2870,7 +2870,7 @@ class ListBoxValidator(Validator.Validator): ...@@ -2870,7 +2870,7 @@ class ListBoxValidator(Validator.Validator):
if o.getUid() == int(uid): if o.getUid() == int(uid):
break break
except ValueError: except ValueError:
if str(object.getUid()) == uid: if str(o.getUid()) == uid:
break break
else: else:
raise err raise err
......
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