commit: f6fcf4b3d4a640ba54b2eaa2ed68f5f1ef8a11bd
Author: John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 6 02:25:48 2021 +0000
Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Tue Jul 6 02:26:44 2021 +0000
URL: https://gitweb.gentoo.org/proj/security.git/commit/?id=f6fcf4b3
glsamaker: readability improvements
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
bin/glsatool | 8 ++++----
1 file 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):