1 |
commit: 482177991dd27f2e776176233c097dfa6ea84439 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 29 00:27:26 2021 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 29 00:29:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=48217799 |
7 |
|
8 |
glsa-check: suppress line 293 newline for --quiet (bug 719260) |
9 |
|
10 |
Bug: https://bugs.gentoo.org/719260#c2 |
11 |
Reported-by: Ramon Fischer <Ramon_Fischer <AT> hotmail.de> |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
bin/glsa-check | 3 ++- |
15 |
1 file changed, 2 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/bin/glsa-check b/bin/glsa-check |
18 |
index a3e7aa043..c8610f7df 100755 |
19 |
--- a/bin/glsa-check |
20 |
+++ b/bin/glsa-check |
21 |
@@ -290,7 +290,8 @@ if mode in ["dump", "fix", "inject", "pretend"]: |
22 |
elif mode == "inject": |
23 |
sys.stdout.write("injecting " + myid + "\n") |
24 |
myglsa.inject() |
25 |
- sys.stdout.write("\n") |
26 |
+ if not quiet: |
27 |
+ sys.stdout.write("\n") |
28 |
sys.exit(0) |
29 |
|
30 |
# test is a bit different as Glsa.test() produces no output |