aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2015-01-11 14:54:04 +0000
committerAdam Spiers <git@adamspiers.org>2015-01-11 15:17:59 +0000
commita016a8cc04b42e67b27f2520bb4690918ca0aae7 (patch)
treed2cdec09b9cb0097ee8bbafbdc9bf480f197e335
parent8b3d182fabee62ae52060b74c03ffe97142929dd (diff)
downloadgit-deps-a016a8cc04b42e67b27f2520bb4690918ca0aae7.tar.gz
rename local variable to avoid confusion
-rwxr-xr-xgit-deps4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-deps b/git-deps
index 97486c6..192f732 100755
--- a/git-deps
+++ b/git-deps
@@ -189,7 +189,7 @@ class JSONDependencyListener(DependencyListener):
self.add_commit(parent)
self.add_commit(child)
- new_dependency = {
+ new_dep = {
'parent': ph,
'child': ch,
}
@@ -197,7 +197,7 @@ class JSONDependencyListener(DependencyListener):
if self.options.log:
pass # FIXME
- self._json['dependencies'].append(new_dependency)
+ self._json['dependencies'].append(new_dep)
def dependent_done(self, dependent, dependencies):
commit = self.get_commit(dependent.hex)