From 74d04a4ed03fd4711eb36eab588b98c48f6f0eba Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Fri, 19 Nov 2010 15:07:03 -0500 Subject: [PATCH] Get rid of useless html diff method --- lib/vcs.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/vcs.py b/lib/vcs.py index 7b72e8a..a8c15c5 100644 --- a/lib/vcs.py +++ b/lib/vcs.py @@ -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