Commit 2c574f58 authored by Yoshinori Okuji's avatar Yoshinori Okuji

No need to compare with False explicitly. Use a boolean as a boolean.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24331 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 36ffdda0
...@@ -243,7 +243,7 @@ class OrderBuilder(XMLObject, Amount, Predicate): ...@@ -243,7 +243,7 @@ class OrderBuilder(XMLObject, Amount, Predicate):
for movement_group in movement_group_list: for movement_group in movement_group_list:
tmp_result, tmp_property_dict = movement_group.test( tmp_result, tmp_property_dict = movement_group.test(
instance, divergence_list) instance, divergence_list)
if tmp_result == False: if not tmp_result:
result = tmp_result result = tmp_result
new_property_dict.update(tmp_property_dict) new_property_dict.update(tmp_property_dict)
return result, new_property_dict return result, new_property_dict
......
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