From c62331ea1bc831d68d205466b379eda72dbbcaa1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 8 Sep 2012 18:07:16 -0700 Subject: [PATCH] EbuildPhase: simplify utime args --- pym/_emerge/EbuildPhase.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pym/_emerge/EbuildPhase.py b/pym/_emerge/EbuildPhase.py index c4881d465..84e801898 100644 --- a/pym/_emerge/EbuildPhase.py +++ b/pym/_emerge/EbuildPhase.py @@ -5,7 +5,6 @@ import gzip import io import sys import tempfile -import time from _emerge.AsynchronousLock import AsynchronousLock from _emerge.BinpkgEnvExtractor import BinpkgEnvExtractor @@ -218,8 +217,7 @@ class EbuildPhase(CompositeTask): # Bump WORKDIR timestamp, in case tar gave it a timestamp # that will interfere with distfiles / WORKDIR timestamp # comparisons as reported in bug #332217. - timestamp = time.time() - os.utime(settings["WORKDIR"], (timestamp, timestamp)) + os.utime(settings["WORKDIR"], None) elif self.phase == "install": out = io.StringIO() _post_src_install_write_metadata(settings) -- 2.26.2