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
Author: zmedico
Date: 2009-02-20 08:10:38 +0000 (Fri, 20 Feb 2009)
New Revision: 12663
Modified:
main/trunk/pym/portage/dbapi/vartree.py
Log:
In python-3.0, integer division results in a float, so convert back to int.
Modified: main/trunk/pym/portage/dbapi/vartree.py
===================================================================
--- main/trunk/pym/portage/dbapi/vartree.py 2009-02-20 07:16:16 UTC (rev 12662)
+++ main/trunk/pym/portage/dbapi/vartree.py 2009-02-20 08:10:38 UTC (rev 12663)
@@ -1342,7 +1342,7 @@
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
|
|