[Erp5-report] r37864 aurel - /erp5/trunk/products/ERP5Type/DiffUtils.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Aug 17 12:58:33 CEST 2010
Author: aurel
Date: Tue Aug 17 12:58:32 2010
New Revision: 37864
URL: http://svn.erp5.org?rev=37864&view=rev
Log:
if no subblock, return nothing
Modified:
erp5/trunk/products/ERP5Type/DiffUtils.py
Modified: erp5/trunk/products/ERP5Type/DiffUtils.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/DiffUtils.py?rev=37864&r1=37863&r2=37864&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/DiffUtils.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/DiffUtils.py [utf8] Tue Aug 17 12:58:32 2010
@@ -103,6 +103,9 @@ class DiffFile:
# Adding header of the table
if self.binary:
return '<b>Folder or binary file or just no changes!</b><br/><br/><br/>'
+
+ if not len(self.children):
+ return ''
html_list = []
html_list.append('''
More information about the Erp5-report
mailing list