fixed pep8

This commit is contained in:
Oskar Hahn 2013-03-15 02:14:15 +01:00
parent d180b4f331
commit 81eb92a761
2 changed files with 8 additions and 8 deletions

View File

@ -157,8 +157,8 @@ def html_strong(string):
return u"<strong>%s</strong>" % string
def htmldiff(rev1, rev2):
"""Return string of html diff between two strings (rev1 and rev2)"""
def htmldiff(text1, text2):
"""Return string of html diff between two strings (text1 and text2)"""
diff = difflib.HtmlDiff(wrapcolumn=60)
return diff.make_table(rev1.splitlines(), rev2.splitlines())
return diff.make_table(text1.splitlines(), text2.splitlines())