projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9881a2
)
Change division to floor division for Python3 compatibility (Bug 417233).
author
Paul Varner
<fuzzyray@gentoo.org>
Thu, 24 May 2012 05:54:59 +0000
(
00:54
-0500)
committer
Paul Varner
<fuzzyray@gentoo.org>
Tue, 19 Jun 2012 20:48:07 +0000
(15:48 -0500)
pym/gentoolkit/glsa/__init__.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/glsa/__init__.py
b/pym/gentoolkit/glsa/__init__.py
index af97ac6876dd7bffb55137aa2c922414a488b32f..9e5a83f9a285447e5db8e053f8e59b6898348717 100644
(file)
--- 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: