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
......@@ -104,6 +104,9 @@ class DiffFile:
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('''
<table style="text-align: left; width: 100%%; border: 0;" cellpadding="0" cellspacing="0">
......
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