diff --git a/product/ERP5Type/DiffUtils.py b/product/ERP5Type/DiffUtils.py index 11037a8cf8f95252212760faf76dc51a5ac7944b..c1d69b74da9ba9e2b9bbe9e70bb93fac3f48fd52 100644 --- a/product/ERP5Type/DiffUtils.py +++ b/product/ERP5Type/DiffUtils.py @@ -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('''