summaryrefslogtreecommitdiff
path: root/tests/09_test_write_tree.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-09-19 22:28:56 +0200
committerGuido Günther <agx@sigxcpu.org>2012-10-25 18:59:22 +0200
commit38788670ee6e44375da3ff2eb253f50c8853023e (patch)
tree952f17840897ddda437585c86ca63f8a05127fe3 /tests/09_test_write_tree.py
parentc3c2778e922ff070ad26ebbde2e41fb0d49ea9ea (diff)
PEP-8 and pyflakes cleanups
Diffstat (limited to 'tests/09_test_write_tree.py')
-rw-r--r--tests/09_test_write_tree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/09_test_write_tree.py b/tests/09_test_write_tree.py
index d721ce6..dd81f70 100644
--- a/tests/09_test_write_tree.py
+++ b/tests/09_test_write_tree.py
@@ -58,7 +58,7 @@ class TestWriteTree(testutils.DebianGitTestRepo):
)
self.assertEqual(len(commit), 40)
# commit the same tree again using the previous commit as parent
- commit2 = self.repo.commit_tree(sha1, "second commit", parents=[commit])
+ self.repo.commit_tree(sha1, "second commit", parents=[commit])
# commit the same tree again using a non existant parent
self.assertRaises(gbp.errors.GbpError,
self.repo.commit_tree,