Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: 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:
|
|