[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: Set timestamps to second resolution (was millisecond by default).

Holger Levsen holger at layer-acht.org
Sun Jun 4 20:34:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 3f39ea3ec7b66451c36121b2437b7ebd8845ffea
Author: Daniel Shahaf <danielsh at apache.org>
Date:   Sun Jun 4 20:33:10 2017 +0000

    reproducible Debian: Set timestamps to second resolution (was millisecond by default).
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 474c8a3..7fd1e96 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -113,7 +113,7 @@ if args.quiet or QUIET:
 log = logging.getLogger(__name__)
 log.setLevel(log_level)
 sh = logging.StreamHandler()
-sh.setFormatter(logging.Formatter('[%(asctime)s] %(levelname)s: %(message)s'))
+sh.setFormatter(logging.Formatter('[%(asctime)s] %(levelname)s: %(message)s', datefmt='%Y-%m-%d %H:%M:%S'))
 log.addHandler(sh)
 
 started_at = datetime.now()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list