projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6034b12
)
BUILD_TIME: use string format op for time.time()
v2.2.0_alpha44
author
Zac Medico
<zmedico@gentoo.org>
Tue, 12 Jul 2011 23:38:54 +0000
(16:38 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 12 Jul 2011 23:38:54 +0000
(16:38 -0700)
pym/portage/package/ebuild/doebuild.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/doebuild.py
b/pym/portage/package/ebuild/doebuild.py
index af67e4e210d84d0429e174f1bc91fc7c6c1ff44c..26afbc28ef012daa09c384c10a81908f0e5eb8ed 100644
(file)
--- a/
pym/portage/package/ebuild/doebuild.py
+++ b/
pym/portage/package/ebuild/doebuild.py
@@
-1593,7
+1593,7
@@
def _post_src_install_uid_fix(mysettings, out):
io.open(_unicode_encode(os.path.join(build_info_dir,
'BUILD_TIME'), encoding=_encodings['fs'], errors='strict'),
mode='w', encoding=_encodings['repo.content'],
- errors='strict').write(_unicode_decode(
str(int(time.time())) + '\n'
))
+ errors='strict').write(_unicode_decode(
"%.0f\n" % (time.time(),)
))
use = frozenset(mysettings['PORTAGE_USE'].split())
for k in _vdb_use_conditional_keys: