1 |
commit: f6fcf4b3d4a640ba54b2eaa2ed68f5f1ef8a11bd |
2 |
Author: John Helmert III <ajak <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 6 02:25:48 2021 +0000 |
4 |
Commit: John Helmert III <ajak <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 6 02:26:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/security.git/commit/?id=f6fcf4b3 |
7 |
|
8 |
glsamaker: readability improvements |
9 |
|
10 |
Signed-off-by: John Helmert III <ajak <AT> gentoo.org> |
11 |
|
12 |
bin/glsatool | 8 ++++---- |
13 |
1 file changed, 4 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/bin/glsatool b/bin/glsatool |
16 |
index f1d69c6..6755f32 100755 |
17 |
--- a/bin/glsatool |
18 |
+++ b/bin/glsatool |
19 |
@@ -67,10 +67,10 @@ class GLSATool: |
20 |
|
21 |
def update_bugs(self, bugs): |
22 |
for bug in self.bgo.getbugs(bugs): |
23 |
- update = {'whiteboard': self.new_whiteboard(bug.whiteboard)} |
24 |
- update['comment'] = {'comment': 'GLSA request filed.'} |
25 |
- print('https://bugs.gentoo.org/' + str(bug.id) + ': ' + |
26 |
- bug.whiteboard + ' -> ' + update['whiteboard']) |
27 |
+ update = {'whiteboard': self.new_whiteboard(bug.whiteboard), |
28 |
+ 'comment': {'comment': 'GLSA request filed.'}} |
29 |
+ print('https://bugs.gentoo.org/{}: {} -> {}' |
30 |
+ .format(str(bug.id), bug.whiteboard, update['whiteboard'])) |
31 |
self.bgo.update_bugs([bug.id], update) |
32 |
|
33 |
def new_glsa(self, title, bugs): |