[Reproducible-commits] [misc] 01/01: fix off-by-one

Reiner Herrmann reiner at reiner-h.de
Mon Apr 18 21:16:49 UTC 2016


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

deki-guest pushed a commit to branch master
in repository misc.

commit ff804e7c4e055ae8b1d41a680488d2eee1bd9b93
Author: Reiner Herrmann <reiner at reiner-h.de>
Date:   Mon Apr 18 23:16:37 2016 +0200

    fix off-by-one
---
 reports/bin/newly-reproducible | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reports/bin/newly-reproducible b/reports/bin/newly-reproducible
index fdca529..a2ce4ea 100755
--- a/reports/bin/newly-reproducible
+++ b/reports/bin/newly-reproducible
@@ -15,7 +15,7 @@ week_1 = 1430604000 # May 3 2015, 00:00
 
 opts, args = getopt.getopt(sys.argv[1:], 'w:')
 query_add = ''
-if len(args) > 1:
+if len(args) > 0:
     query_add = "AND name IN ({})".format(', '.join(map(repr, args)))
 
 if len(opts) > 0:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list