Commit 05187ecd authored by Nicolas Dumazet's avatar Nicolas Dumazet

break when one Expression is found


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41777 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 440c803a
...@@ -131,6 +131,7 @@ class TestClassTool(ERP5TypeTestCase): ...@@ -131,6 +131,7 @@ class TestClassTool(ERP5TypeTestCase):
for category in getattr(ps, '_categories', []): for category in getattr(ps, '_categories', []):
if isinstance(category, Expression): if isinstance(category, Expression):
found_one = 1 found_one = 1
break
if found_one: if found_one:
break break
else: else:
......
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