[Erp5-report] r19460 - /erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 21 19:48:24 CET 2008
Author: kazuhiko
Date: Thu Feb 21 19:48:24 2008
New Revision: 19460
URL: http://svn.erp5.org?rev=19460&view=rev
Log:
rename a variable name that is already used in the same scope.
Modified:
erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
Modified: erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py?rev=19460&r1=19459&r2=19460&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py (original)
+++ erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py Thu Feb 21 19:48:24 2008
@@ -649,20 +649,20 @@
# Disable reindexing before adding templates
# VERY IMPORTANT: Add some business templates
- for url, title in business_template_list:
+ for url, bt_title in business_template_list:
start = time.time()
get_install_kw = False
- if title in [x.getTitle() for x in portal.portal_templates.getInstalledBusinessTemplateList()]:
+ if bt_title in [x.getTitle() for x in portal.portal_templates.getInstalledBusinessTemplateList()]:
if update_business_templates:
if not quiet:
- ZopeTestCase._print('Updating %s business template ... ' % title)
+ ZopeTestCase._print('Updating %s business template ... ' % bt_title)
if BusinessTemplate_getModifiedObject is not None:
get_install_kw = True
else:
continue
else:
if not quiet:
- ZopeTestCase._print('Adding %s business template ... ' % title)
+ ZopeTestCase._print('Adding %s business template ... ' % bt_title)
bt = portal.portal_templates.download(url)
if not quiet:
ZopeTestCase._print('(downloaded in %.3fs) ' % (time.time() - start))
More information about the Erp5-report
mailing list