Mercurial > moin > 1.9
comparison MoinMoin/util/diff_html.py @ 6100:e9ef58bdad15
use difflib from stdlib
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Tue, 06 Sep 2016 00:20:17 +0200 |
parents | a02d87f66ce7 |
children |
comparison
equal
deleted
inserted
replaced
6099:1736bc375fc4 | 6100:e9ef58bdad15 |
---|---|
5 @copyright: 2002 Juergen Hermann <jh@web.de>, | 5 @copyright: 2002 Juergen Hermann <jh@web.de>, |
6 2002 Scott Moonen <smoonen@andstuff.org> | 6 2002 Scott Moonen <smoonen@andstuff.org> |
7 @license: GNU GPL, see COPYING for details. | 7 @license: GNU GPL, see COPYING for details. |
8 """ | 8 """ |
9 | 9 |
10 from MoinMoin.support import difflib | 10 import difflib |
11 | |
11 from MoinMoin.wikiutil import escape | 12 from MoinMoin.wikiutil import escape |
12 | 13 |
13 def indent(line): | 14 def indent(line): |
14 eol = '' | 15 eol = '' |
15 while line and line[0] == '\n': | 16 while line and line[0] == '\n': |