summaryrefslogtreecommitdiffstats
path: root/bin/egencache
diff options
context:
space:
mode:
Diffstat (limited to 'bin/egencache')
-rwxr-xr-xbin/egencache3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/egencache b/bin/egencache
index 5c59e6dd0..b160189a3 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -38,6 +38,9 @@ from portage.util import writemsg_level
from portage import cpv_getkey
from portage.dep import isjustname
+if sys.hexversion >= 0x3000000:
+ long = int
+
def parse_args(args):
usage = "egencache [options] --update [atom] ..."
parser = optparse.OptionParser(usage=usage)