[Python-modules-commits] [dulwich] 10/19: Fix formatting.

Jelmer Vernooij jelmer at moszumanska.debian.org
Sun Oct 29 17:22:27 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 82e1350680e5f94643e3729a92a7c7c32b630071
Author: Jelmer Vernooij <jelmer at debian.org>
Date:   Wed Oct 18 23:31:22 2017 +0100

    Fix formatting.
---
 dulwich/file.py            | 3 ++-
 dulwich/tests/test_file.py | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dulwich/file.py b/dulwich/file.py
index 96275a8..c364d42 100644
--- a/dulwich/file.py
+++ b/dulwich/file.py
@@ -122,7 +122,8 @@ class _GitFile(object):
         try:
             fd = os.open(
                 self._lockfilename,
-                os.O_RDWR | os.O_CREAT | os.O_EXCL | getattr(os, "O_BINARY", 0))
+                os.O_RDWR | os.O_CREAT | os.O_EXCL |
+                getattr(os, "O_BINARY", 0))
         except OSError as e:
             if e.errno == errno.EEXIST:
                 raise FileLocked(filename, self._lockfilename)
diff --git a/dulwich/tests/test_file.py b/dulwich/tests/test_file.py
index 9f937cc..12df38a 100644
--- a/dulwich/tests/test_file.py
+++ b/dulwich/tests/test_file.py
@@ -18,7 +18,6 @@
 # License, Version 2.0.
 #
 
-import errno
 import io
 import os
 import shutil

-- 
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