diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-21 17:41:45 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-21 17:41:45 +0000 |
commit | cdd7a8350d5ad23c49c916399dfaace2cd4ab99a (patch) | |
tree | 4881d84340d833b0fdbc8f8b77d61f4c001f15b6 /bin | |
parent | 1e41a53912fa53b74577752cbbad7cbdd4e2afef (diff) | |
download | portage-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 'bin')
-rwxr-xr-x | bin/egencache | 3 |
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) |