summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/package/ebuild/doebuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py
index af67e4e21..26afbc28e 100644
--- 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: