\n'''
+ % {'line_class': line_class,
+ 'action': change['action']})
anchor_old_id = ''
anchor_new_id = ''
anchor_old = "%(filename)s_o%(oldline_no)s" % \
@@ -417,35 +417,32 @@ class DiffProcessor(object):
###########################################################
# OLD LINE NUMBER
###########################################################
- _html.append('''\t| ''' \
- % {'a_id': anchor_old_id,
- 'old_lineno_cls': old_lineno_class})
+ _html.append('''\t | '''
+ % {'a_id': anchor_old_id,
+ 'old_lineno_cls': old_lineno_class})
- _html.append('''%(link)s ''' \
- % {'link':
- _link_to_if(cond_old, change['old_lineno'], '#%s' \
- % anchor_old)})
+ _html.append('''%(link)s '''
+ % {'link':
+ _link_to_if(cond_old, change['old_lineno'], '#%s' % anchor_old)})
_html.append(''' | \n''')
###########################################################
# NEW LINE NUMBER
###########################################################
- _html.append('''\t''' \
- % {'a_id': anchor_new_id,
- 'new_lineno_cls': new_lineno_class})
+ _html.append('''\t | '''
+ % {'a_id': anchor_new_id,
+ 'new_lineno_cls': new_lineno_class})
- _html.append('''%(link)s ''' \
- % {'link':
- _link_to_if(cond_new, change['new_lineno'], '#%s' \
- % anchor_new)})
+ _html.append('''%(link)s '''
+ % {'link': _link_to_if(cond_new, change['new_lineno'], '#%s' % anchor_new)})
_html.append(''' | \n''')
###########################################################
# CODE
###########################################################
- _html.append('''\t''' \
- % {'code_class': code_class})
- _html.append('''\n\t\t%(code)s \n''' \
- % {'code': change['line']})
+ _html.append('''\t | '''
+ % {'code_class': code_class})
+ _html.append('''\n\t\t%(code)s \n'''
+ % {'code': change['line']})
_html.append('''\t | ''')
_html.append('''\n
\n''')
_html.append('''