diff options
author | 2021-07-05 21:25:48 -0500 | |
---|---|---|
committer | 2021-07-05 21:26:44 -0500 | |
commit | f6fcf4b3d4a640ba54b2eaa2ed68f5f1ef8a11bd (patch) | |
tree | cc39ea9a943f597d294adb67eb31251f3585faa7 | |
parent | glsatool: new tool (diff) | |
download | security-f6fcf4b3d4a640ba54b2eaa2ed68f5f1ef8a11bd.tar.gz security-f6fcf4b3d4a640ba54b2eaa2ed68f5f1ef8a11bd.tar.bz2 security-f6fcf4b3d4a640ba54b2eaa2ed68f5f1ef8a11bd.zip |
glsamaker: readability improvements
Signed-off-by: John Helmert III <ajak@gentoo.org>
-rwxr-xr-x | bin/glsatool | 8 |
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): |