summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/util/env_update.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/util/env_update.py b/pym/portage/util/env_update.py
index ebae63446..6f8e91a83 100644
--- a/pym/portage/util/env_update.py
+++ b/pym/portage/util/env_update.py
@@ -7,6 +7,7 @@ __all__ = ['env_update']
import codecs
import errno
import stat
+import sys
import time
import portage
@@ -20,6 +21,9 @@ from portage.util import atomic_ofstream, ensure_dirs, getconfig, \
normalize_path, writemsg
from portage.util.listdir import listdir
+if sys.hexversion >= 0x3000000:
+ long = int
+
def env_update(makelinks=1, target_root=None, prev_mtimes=None, contents=None,
env=None, writemsg_level=None):
"""