commit:     a5092f11f31b6a9d54a34423088a7bb8e70bc1c6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  8 21:16:19 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec  8 21:16:19 2021 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=a5092f11

Reformat with black 21.12b0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 lib/portage/process.py                  | 2 --
 lib/portage/util/_xattr.py              | 1 -
 lib/portage/util/futures/unix_events.py | 1 -
 3 files changed, 4 deletions(-)

diff --git a/lib/portage/process.py b/lib/portage/process.py
index e1bd2314e..84e09f8ec 100644
--- a/lib/portage/process.py
+++ b/lib/portage/process.py
@@ -84,7 +84,6 @@ if _fd_dir is not None:
                     raise
                 return range(max_fd_limit)
 
-
 elif os.path.isdir("/proc/%s/fd" % portage.getpid()):
     # In order for this function to work in forked subprocesses,
     # os.getpid() must be called from inside the function.
@@ -95,7 +94,6 @@ elif os.path.isdir("/proc/%s/fd" % portage.getpid()):
             if fd.isdigit()
         )
 
-
 else:
 
     def get_open_fds():

diff --git a/lib/portage/util/_xattr.py b/lib/portage/util/_xattr.py
index ff0a7d8c5..f4d3ad733 100644
--- a/lib/portage/util/_xattr.py
+++ b/lib/portage/util/_xattr.py
@@ -169,7 +169,6 @@ if hasattr(os, "getxattr"):
         def list(item, nofollow=False, namespace=None):
             return os.listxattr(item, follow_symlinks=not nofollow)
 
-
 else:
     try:
         # Maybe we have the xattr module.

diff --git a/lib/portage/util/futures/unix_events.py 
b/lib/portage/util/futures/unix_events.py
index f2f01f0c6..c9855aefb 100644
--- a/lib/portage/util/futures/unix_events.py
+++ b/lib/portage/util/futures/unix_events.py
@@ -23,7 +23,6 @@ if hasattr(os, "set_blocking"):
     def _set_nonblocking(fd):
         os.set_blocking(fd, False)
 
-
 else:
 
     def _set_nonblocking(fd):

Reply via email to