commit: 652202b382c247dbc32296f03a9e654713776cbe
Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 26 00:34:29 2011 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Jan 17 17:51:53 2017 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=652202b3
glsa-check: Fix some pylint complains
bin/glsa-check | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/glsa-check b/bin/glsa-check
index 84481d8..54a7ae1 100755
--- a/bin/glsa-check
+++ b/bin/glsa-check
@@ -176,7 +176,7 @@ def summarylist(myglsalist, fd1=sys.stdout, fd2=sys.stderr,
encoding="utf-8"):
if verbose:
access = ("[%-8s] " % myglsa.access)
else:
- access=""
+ access = ""
fd1.write(color(myglsa.nr) + " " + color(status) + " " +
color(access) + myglsa.title + " (")
if not verbose:
@@ -230,7 +230,7 @@ if mode in ["dump", "fix", "inject", "pretend"]:
sys.stderr.write(emergecmd+"\n")
exitcode = os.system(emergecmd)
# system() returns the exitcode in the
high byte of a 16bit integer
- if exitcode >= 1<<8:
+ if exitcode >= 1 << 8:
exitcode >>= 8
if exitcode:
sys.exit(exitcode)