Commit ce30a9c8 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Fix a misbehavior of a conditional.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@541 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0d4fb8d0
......@@ -158,7 +158,7 @@ class Selection(Acquisition.Implicit, Traversable, Persistent):
def getSelectionCheckedUids(self):
if not hasattr(self, 'selection_checked_uids'):
self.selection_checked_uids = []
if self.selection_checked_uids is None:
elif self.selection_checked_uids is None:
self.selection_checked_uids = []
return self.selection_checked_uids
......
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