commit: ab2d837704503484f4f46069a2cd0779ae4bd194 Author: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> AuthorDate: Thu Jan 22 08:46:32 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jan 22 19:06:29 2026 +0000 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=ab2d8377
revdep_rebuild: black cleanup Signed-off-by: Brian Dolbec <brian.dolbec <AT> gmail.com> Part-of: https://github.com/gentoo/gentoolkit/pull/60 Signed-off-by: Sam James <sam <AT> gentoo.org> pym/gentoolkit/revdep_rebuild/analyse.py | 2 +- pym/gentoolkit/revdep_rebuild/rebuild.py | 7 +++---- pym/gentoolkit/revdep_rebuild/stuff.py | 1 - 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/pym/gentoolkit/revdep_rebuild/analyse.py b/pym/gentoolkit/revdep_rebuild/analyse.py index a457180..3f3bdd6 100644 --- a/pym/gentoolkit/revdep_rebuild/analyse.py +++ b/pym/gentoolkit/revdep_rebuild/analyse.py @@ -250,7 +250,7 @@ class LibCheck: "\tFile %s ignored as it is masked" % filename ) continue - if l.startswith('/') and os.path.isfile(l): + if l.startswith("/") and os.path.isfile(l): self.logger.debug( "\tLibrary %s is a full path and it exists" % l ) diff --git a/pym/gentoolkit/revdep_rebuild/rebuild.py b/pym/gentoolkit/revdep_rebuild/rebuild.py index d7bf69e..ddf5d52 100644 --- a/pym/gentoolkit/revdep_rebuild/rebuild.py +++ b/pym/gentoolkit/revdep_rebuild/rebuild.py @@ -1,13 +1,13 @@ #!/usr/bin/python -""" Rebuild module +"""Rebuild module Main program, cli parsing and api program control and operation Author: Sławomir Lis <[email protected]> - revdep-rebuild original author: Stanislav Brabec - revdep-rebuild original rewrite Author: Michael A. Smith + revdep-rebuild original author: Stanislav Brabec + revdep-rebuild original rewrite Author: Michael A. Smith Current Maintainer: Paul Varner <[email protected]> Creation date: 2010/10/17 License: BSD @@ -31,7 +31,6 @@ from .settings import DEFAULTS, parse_options from .stuff import filter_masked from . import __version__ - APP_NAME = sys.argv[0] VERSION = __version__ diff --git a/pym/gentoolkit/revdep_rebuild/stuff.py b/pym/gentoolkit/revdep_rebuild/stuff.py index eee90c8..d6d69f1 100644 --- a/pym/gentoolkit/revdep_rebuild/stuff.py +++ b/pym/gentoolkit/revdep_rebuild/stuff.py @@ -2,7 +2,6 @@ """Utilities submodule""" - import subprocess import portage
