[Erp5-report] r19379 - /erp5/trunk/products/ERP5/Document/BusinessTemplate.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Feb 19 10:26:25 CET 2008
Author: vincent
Date: Tue Feb 19 10:26:25 2008
New Revision: 19379
URL: http://svn.erp5.org?rev=19379&view=rev
Log:
Add a comment about code assumption which can lead to exceptions.
Modified:
erp5/trunk/products/ERP5/Document/BusinessTemplate.py
Modified: erp5/trunk/products/ERP5/Document/BusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BusinessTemplate.py?rev=19379&r1=19378&r2=19379&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py Tue Feb 19 10:26:25 2008
@@ -4557,6 +4557,7 @@
# remove object from old business template
if len(remove_object_dict):
+ # XXX: this code assumes that there is an installed_bt
for item_name in installed_bt._item_name_list:
item = getattr(installed_bt, item_name, None)
if item is not None:
More information about the Erp5-report
mailing list