summaryrefslogtreecommitdiffstats
path: root/pym/portage/eclass_cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/eclass_cache.py')
-rw-r--r--pym/portage/eclass_cache.py4
1 files changed, 4 insertions, 0 deletions
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.