From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4112D13933E for ; Tue, 6 Jul 2021 02:26:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85740E09F9; Tue, 6 Jul 2021 02:26:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6B5B9E09F9 for ; Tue, 6 Jul 2021 02:26:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7CB273409EB for ; Tue, 6 Jul 2021 02:26:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 048927BA for ; Tue, 6 Jul 2021 02:26:50 +0000 (UTC) From: "John Helmert III" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "John Helmert III" Message-ID: <1625538404.f6fcf4b3d4a640ba54b2eaa2ed68f5f1ef8a11bd.ajak@gentoo> Subject: [gentoo-commits] proj/security:ajak-cvetool commit in: bin/ X-VCS-Repository: proj/security X-VCS-Files: bin/glsatool X-VCS-Directories: bin/ X-VCS-Committer: ajak X-VCS-Committer-Name: John Helmert III X-VCS-Revision: f6fcf4b3d4a640ba54b2eaa2ed68f5f1ef8a11bd X-VCS-Branch: ajak-cvetool Date: Tue, 6 Jul 2021 02:26:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1cd8d807-cdca-48d7-b58d-387372cef67a X-Archives-Hash: ab8937947d2237aa6ad1530b6acac2c2 commit: f6fcf4b3d4a640ba54b2eaa2ed68f5f1ef8a11bd Author: John Helmert III gentoo org> AuthorDate: Tue Jul 6 02:25:48 2021 +0000 Commit: John Helmert III gentoo 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 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):