diff options
Diffstat (limited to 'pym/portage/cache/flat_hash.py')
-rw-r--r-- | pym/portage/cache/flat_hash.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/cache/flat_hash.py b/pym/portage/cache/flat_hash.py index 3f46df8b9..918c935f5 100644 --- a/pym/portage/cache/flat_hash.py +++ b/pym/portage/cache/flat_hash.py @@ -8,10 +8,14 @@ from portage.cache import fs_template from portage.cache import cache_errors import errno import stat +import sys from portage import os from portage import _encodings from portage import _unicode_encode +if sys.hexversion >= 0x3000000: + long = int + class database(fs_template.FsBased): autocommits = True |