[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: use human-readable time format
Holger Levsen
holger at layer-acht.org
Tue May 2 10:24: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 0ef6d32402f810ef955d87cc395dbffd08db304a
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue May 2 12:24:32 2017 +0200
reproducible Debian: use human-readable time format
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_scheduler.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 3b760b6..bc61146 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -240,7 +240,7 @@ def update_sources(suite):
for arch in ARCHS:
log.info('Updating sources db for %s/%s...', suite, arch)
update_sources_db(suite, arch, sources)
- log.info('DB update done for %s/%s done at %s.', suite, arch, datetime.now())
+ log.info('DB update done for %s/%s done at %s.', suite, arch, datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
def update_sources_db(suite, arch, sources):
@@ -730,7 +730,7 @@ if __name__ == '__main__':
log.info('Updating sources tables for all suites.')
for suite in SUITES:
update_sources(suite)
- log.info('Sources for suite %s done at %s.', suite, datetime.now())
+ log.info('Sources for suite %s done at %s.', suite, datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
purge_old_pages()
query = "SELECT count(*) " + \
"FROM schedule AS p JOIN sources AS s ON s.id=p.package_id " + \
@@ -745,7 +745,7 @@ if __name__ == '__main__':
log.info('%s packages already scheduled for %s, probably scheduling some '
'more...', overall, arch)
message += scheduler(arch) + '\n'
- log.info('Arch %s scheduled at %s.', arch, datetime.now())
+ log.info('Arch %s scheduled at %s.', arch, datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
if message != '':
# build the kgb message text
message = 'Scheduled in ' + '+'.join(SUITES) + ':\n' + message
--
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