Gentoo Logo
Gentoo Spaceship




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
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Paul Varner" <fuzzyray@g.o>
Subject: proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/glsa/
Date: Tue, 19 Jun 2012 20:50:01 +0000 (UTC)
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:


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in net-analyzer/wireshark/files: wireshark-1.6.4-build.patch wireshark-1.6.4-doc-build.patch
Next by thread:
gentoo-x86 commit in app-admin/system-config-printer-common: system-config-printer-common-1.3.9-r2.ebuild ChangeLog system-config-printer-common-1.3.9-r1.ebuild
Previous by date:
gentoo-x86 commit in net-analyzer/wireshark/files: wireshark-1.6.4-build.patch wireshark-1.6.4-doc-build.patch
Next by date:
gentoo-x86 commit in dev-libs/geoip: ChangeLog geoip-1.4.8.ebuild


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.