* [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/glsa/
@ 2012-06-19 20:50 Paul Varner
0 siblings, 0 replies; 2+ messages in thread
From: Paul Varner @ 2012-06-19 20:50 UTC (permalink / raw
To: gentoo-commits
commit: ebba27e8de436d790e7a55eb1e35d948143dffde
Author: Paul Varner <fuzzyray <AT> gentoo <DOT> org>
AuthorDate: Thu May 24 05:54:59 2012 +0000
Commit: Paul Varner <fuzzyray <AT> gentoo <DOT> org>
CommitDate: Tue Jun 19 20:48:07 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=ebba27e8
Change division to floor division for Python3 compatibility (Bug 417233).
---
pym/gentoolkit/glsa/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pym/gentoolkit/glsa/__init__.py b/pym/gentoolkit/glsa/__init__.py
index af97ac6..9e5a83f 100644
--- a/pym/gentoolkit/glsa/__init__.py
+++ b/pym/gentoolkit/glsa/__init__.py
@@ -60,7 +60,7 @@ def center(text, width):
"""
if len(text) >= width:
return text
- margin = (width-len(text))/2
+ margin = (width-len(text))//2
rValue = " "*margin
rValue += text
if 2*margin + len(text) == width:
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/glsa/
@ 2014-01-10 0:49 Christian Ruppert
0 siblings, 0 replies; 2+ messages in thread
From: Christian Ruppert @ 2014-01-10 0:49 UTC (permalink / raw
To: gentoo-commits
commit: 627386fe0402160f5255f2ed4dfd3b9d63c01f5e
Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 10 00:48:59 2014 +0000
Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Fri Jan 10 00:48:59 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=627386fe
Separate "Vulnerable" and "Unaffected" by comma/space
---
pym/gentoolkit/glsa/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pym/gentoolkit/glsa/__init__.py b/pym/gentoolkit/glsa/__init__.py
index 9e5a83f..a9eb30b 100644
--- a/pym/gentoolkit/glsa/__init__.py
+++ b/pym/gentoolkit/glsa/__init__.py
@@ -634,8 +634,8 @@ class Glsa:
for k in self.packages.keys():
pkg = self.packages[k]
for path in pkg:
- vul_vers = "".join(path["vul_vers"])
- unaff_vers = "".join(path["unaff_vers"])
+ vul_vers = ", ".join(path["vul_vers"])
+ unaff_vers = ", ".join(path["unaff_vers"])
outstream.write("Affected package: %s\n" % k)
outstream.write("Affected archs: ")
if path["arch"] == "*":
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-10 0:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-19 20:50 [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/glsa/ Paul Varner
-- strict thread matches above, loose matches on Subject: below --
2014-01-10 0:49 Christian Ruppert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox