From cdd7a8350d5ad23c49c916399dfaace2cd4ab99a Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 21 Sep 2009 17:41:45 +0000 Subject: Define long as int when Python 3 is used. svn path=/main/trunk/; revision=14343 --- pym/portage/eclass_cache.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pym/portage/eclass_cache.py') diff --git a/pym/portage/eclass_cache.py b/pym/portage/eclass_cache.py index 2c3c66c86..26019400b 100644 --- a/pym/portage/eclass_cache.py +++ b/pym/portage/eclass_cache.py @@ -5,12 +5,16 @@ __all__ = ["cache"] +import sys import warnings from portage.util import normalize_path import errno from portage.exception import PermissionDenied from portage import os +if sys.hexversion >= 0x3000000: + long = int + class cache(object): """ Maintains the cache information about eclasses used in ebuild. -- cgit v1.2.3-1-g7c22