[Python-modules-commits] [dulwich] 12/19: Remove unused variable.

Jelmer Vernooij jelmer at moszumanska.debian.org
Sun Oct 29 17:22:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

jelmer pushed a commit to branch master
in repository dulwich.

commit 4a8e67ff0a7592132c2cfe1ace422b6995d9942d
Author: Jelmer Vernooij <jelmer at debian.org>
Date:   Thu Oct 19 00:23:34 2017 +0100

    Remove unused variable.
---
 dulwich/tests/test_file.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dulwich/tests/test_file.py b/dulwich/tests/test_file.py
index 12df38a..0c6fcea 100644
--- a/dulwich/tests/test_file.py
+++ b/dulwich/tests/test_file.py
@@ -157,7 +157,7 @@ class GitFileTests(TestCase):
         try:
             f2 = GitFile(foo, 'wb')
             self.fail()
-        except FileLocked as e:
+        except FileLocked:
             pass
         else:
             f2.close()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/dulwich.git



More information about the Python-modules-commits mailing list