comparison MoinMoin/util/diff_text.py @ 2286:01f05e74aa9c

Big PEP8 and whitespace cleanup
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 02 Jul 2007 23:33:20 +0200
parents bb2e053067fb
children e9ef58bdad15
comparison
equal deleted inserted replaced
2285:751e149a9a0a 2286:01f05e74aa9c
8 from MoinMoin.support import difflib 8 from MoinMoin.support import difflib
9 9
10 def diff(oldlines, newlines, **kw): 10 def diff(oldlines, newlines, **kw):
11 """ 11 """
12 Find changes between oldlines and newlines. 12 Find changes between oldlines and newlines.
13 13
14 @param oldlines: list of old text lines 14 @param oldlines: list of old text lines
15 @param newlines: list of new text lines 15 @param newlines: list of new text lines
16 @keyword ignorews: if 1: ignore whitespace 16 @keyword ignorews: if 1: ignore whitespace
17 @rtype: list 17 @rtype: list
18 @return: lines like diff tool does output. 18 @return: lines like diff tool does output.