Commit 44a80bc7 authored by Aurel's avatar Aurel

if no subblock, return nothing


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37864 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f76d806e
......@@ -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('''
......
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