diff options
author | Adam Spiers <git@adamspiers.org> | 2015-01-11 14:54:04 +0000 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2015-01-11 15:17:59 +0000 |
commit | a016a8cc04b42e67b27f2520bb4690918ca0aae7 (patch) | |
tree | d2cdec09b9cb0097ee8bbafbdc9bf480f197e335 | |
parent | 8b3d182fabee62ae52060b74c03ffe97142929dd (diff) | |
download | git-deps-a016a8cc04b42e67b27f2520bb4690918ca0aae7.tar.gz |
rename local variable to avoid confusion
-rwxr-xr-x | git-deps | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |