summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi/bintree.py
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-21 17:41:45 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-21 17:41:45 +0000
commitcdd7a8350d5ad23c49c916399dfaace2cd4ab99a (patch)
tree4881d84340d833b0fdbc8f8b77d61f4c001f15b6 /pym/portage/dbapi/bintree.py
parent1e41a53912fa53b74577752cbbad7cbdd4e2afef (diff)
downloadportage-cdd7a8350d5ad23c49c916399dfaace2cd4ab99a.tar.gz
portage-cdd7a8350d5ad23c49c916399dfaace2cd4ab99a.tar.bz2
portage-cdd7a8350d5ad23c49c916399dfaace2cd4ab99a.zip
Define long as int when Python 3 is used.
svn path=/main/trunk/; revision=14343
Diffstat (limited to 'pym/portage/dbapi/bintree.py')
-rw-r--r--pym/portage/dbapi/bintree.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py
index ff277a8fa..818dba9cf 100644
--- a/pym/portage/dbapi/bintree.py
+++ b/pym/portage/dbapi/bintree.py
@@ -34,6 +34,7 @@ from itertools import chain
if sys.hexversion >= 0x3000000:
basestring = str
+ long = int
class bindbapi(fakedbapi):
_known_keys = frozenset(list(fakedbapi._known_keys) + \