aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Helmert III <ajak@gentoo.org>2021-07-05 21:25:48 -0500
committerJohn Helmert III <ajak@gentoo.org>2021-07-05 21:26:44 -0500
commitf6fcf4b3d4a640ba54b2eaa2ed68f5f1ef8a11bd (patch)
treecc39ea9a943f597d294adb67eb31251f3585faa7
parentglsatool: new tool (diff)
downloadsecurity-f6fcf4b3.tar.gz
security-f6fcf4b3.tar.bz2
security-f6fcf4b3.zip
glsamaker: readability improvements
Signed-off-by: John Helmert III <ajak@gentoo.org>
-rwxr-xr-xbin/glsatool8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/glsatool b/bin/glsatool
index f1d69c6..6755f32 100755
--- a/bin/glsatool
+++ b/bin/glsatool
@@ -67,10 +67,10 @@ class GLSATool:
def update_bugs(self, bugs):
for bug in self.bgo.getbugs(bugs):
- update = {'whiteboard': self.new_whiteboard(bug.whiteboard)}
- update['comment'] = {'comment': 'GLSA request filed.'}
- print('https://bugs.gentoo.org/' + str(bug.id) + ': ' +
- bug.whiteboard + ' -> ' + update['whiteboard'])
+ update = {'whiteboard': self.new_whiteboard(bug.whiteboard),
+ 'comment': {'comment': 'GLSA request filed.'}}
+ print('https://bugs.gentoo.org/{}: {} -> {}'
+ .format(str(bug.id), bug.whiteboard, update['whiteboard']))
self.bgo.update_bugs([bug.id], update)
def new_glsa(self, title, bugs):