Get rid of useless html diff method

This commit is contained in:
Correl Roush 2010-11-19 15:07:03 -05:00
parent 8c28812654
commit 74d04a4ed0

View file

@ -83,18 +83,6 @@ class Diff(object):
changes.append(change)
return changes
def html(self):
a = self.a.data.split('\n') if self.a.data else []
b = self.b.data.split('\n') if self.b.data else []
h = difflib.HtmlDiff()
diff = h.make_table(
a,
b,
fromdesc=self.a.path,
todesc=self.b.path,
context=True)
return diff
class Commit(object):
def __init__(self):
self.id = None