projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff11bfc
)
In python-3.0, integer division results in a float, so convert back to int.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 20 Feb 2009 08:10:38 +0000
(08:10 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 20 Feb 2009 08:10:38 +0000
(08:10 -0000)
svn path=/main/trunk/; revision=12663
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 0685382a5079cd31ee0bf842a823d78d62e7d4ec..4877e68a93d138be950596fe3e2c9d902e5976d2 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-1342,7
+1342,7
@@
class vardbapi(dbapi):
from md5 import new as _new_hash
_hash_bits = 16
- _hex_chars =
_hash_bits / 4
+ _hex_chars =
int(_hash_bits / 4)
def __init__(self, vardb):
self._vardb = vardb