Commit 6ebbe94f authored by Nicolas Dumazet's avatar Nicolas Dumazet

simplify code


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42812 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5ba7aa86
......@@ -880,7 +880,7 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
for url, bt_title in business_template_list:
start = time.time()
get_install_kw = False
if bt_title in [x.getTitle() for x in template_tool.getInstalledBusinessTemplateList()]:
if bt_title in template_tool.getInstalledBusinessTemplateTitleList():
if update_business_templates:
if not quiet:
ZopeTestCase._print('Updating %s business template ... ' % bt_title)
......
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