# HG changeset patch # User Marcin Kuzminski # Date 2012-07-06 18:05:31 # Node ID d097d4bb04373658feb11049705a402db71d6fd9 # Parent 79db9abad65753c4256de4cdeae538726357bc63 fix strikethrough issues on `No new line at end of file` diff --git a/rhodecode/lib/diffs.py b/rhodecode/lib/diffs.py --- a/rhodecode/lib/diffs.py +++ b/rhodecode/lib/diffs.py @@ -401,7 +401,7 @@ class DiffProcessor(object): try: while 1: line = lineiter.next() - if line['action'] != 'unmod': + if line['action'] not in ['unmod', 'context']: nextline = lineiter.next() if nextline['action'] in ['unmod', 'context'] or \ nextline['action'] == line['action']: