aboutsummaryrefslogtreecommitdiff
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/cvstree.py
parentSupport bytes in portage.util.normalize_path() with Python 3. (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/cvstree.py')
-rw-r--r--pym/portage/cvstree.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/cvstree.py b/pym/portage/cvstree.py
index eaf7f37a5..87724adf1 100644
--- a/pym/portage/cvstree.py
+++ b/pym/portage/cvstree.py
@@ -7,12 +7,16 @@ from __future__ import print_function
import codecs
import re
+import sys
import time
from portage import os
from portage import _encodings
from portage import _unicode_encode
+if sys.hexversion >= 0x3000000:
+ long = int
+
# [D]/Name/Version/Date/Flags/Tags
def pathdata(entries, path):