aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2016-06-18 16:23:40 +0200
committerAdam Spiers <git@adamspiers.org>2018-05-15 13:42:16 +0100
commit365dabcd8ee2cd3a18e0ce6066867d479cb60b83 (patch)
treec6f7989e1c9cb09dbbe84dcfef8d13612341f947
parentd70ac2ee55af5d92af8a63a3d2b3e92d5a986105 (diff)
downloadgit-deps-365dabcd8ee2cd3a18e0ce6066867d479cb60b83.tar.gz
remove unused add_link
-rw-r--r--git_deps/listener/json.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/git_deps/listener/json.py b/git_deps/listener/json.py
index aedb6fa..2578741 100644
--- a/git_deps/listener/json.py
+++ b/git_deps/listener/json.py
@@ -58,9 +58,6 @@ class JSONDependencyListener(DependencyListener):
self._commits[sha1] = len(self._json['commits']) - 1
return self._commits[sha1]
- def add_link(self, source, target):
- self._json['dependencies'].append
-
def new_commit(self, commit):
self.add_commit(commit)