Skip to content
Snippets Groups Projects
Commit b48ea431 authored by Jonas Haag's avatar Jonas Haag
Browse files

Removed an unused vestige class.

parent f6e0423f
No related branches found
No related tags found
No related merge requests found
......@@ -38,11 +38,6 @@ class RepoWrapper(dulwich.repo.Repo):
parent.tree, commit.tree)
return stringio.getvalue()
class ChangeWrapper(dulwich.diff_tree.TreeChange):
def as_udiff(self):
with open(self.old.path) as f1, open(self.new.path) as f2:
return ''.join(difflib.unified_diff(f1, f2))
def Repo(name, path, _cache={}):
repo = _cache.get(path)
if repo is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment