projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b57556
)
Define 'long' for Python 3. (trunk r15455)
author
Zac Medico
<zmedico@gentoo.org>
Tue, 2 Mar 2010 21:00:03 +0000
(21:00 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 2 Mar 2010 21:00:03 +0000
(21:00 -0000)
svn path=/main/branches/2.1.7/; revision=15664
pym/portage/util/env_update.py
patch
|
blob
|
history
diff --git
a/pym/portage/util/env_update.py
b/pym/portage/util/env_update.py
index ebae63446650d09afd5881733d68fdfbd8308099..6f8e91a8370257ed511d3ab4bd55d5083eea3400 100644
(file)
--- 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):
"""