diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-02-26 01:34:29 +0100 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-01-17 09:51:53 -0800 |
commit | 652202b382c247dbc32296f03a9e654713776cbe (patch) | |
tree | c0a1c8e53b2ab2f5cd736c75f6fbf5e9578ed284 /bin/glsa-check | |
parent | glsa: Separate "Vulnerable" and "Unaffected" by comma/space (diff) | |
download | portage-652202b382c247dbc32296f03a9e654713776cbe.tar.gz portage-652202b382c247dbc32296f03a9e654713776cbe.tar.bz2 portage-652202b382c247dbc32296f03a9e654713776cbe.zip |
glsa-check: Fix some pylint complains
Diffstat (limited to 'bin/glsa-check')
-rwxr-xr-x | bin/glsa-check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/glsa-check b/bin/glsa-check index 84481d849..54a7ae11b 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) |