[Qa-jenkins-scm] [jenkins.debian.net] 03/07: reproducible Debian: Usual syntax is "if X not in Y" rather than "if not X in Y".
Holger Levsen
holger at layer-acht.org
Mon Nov 7 17:13:30 UTC 2016
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 bc238848b4876d1b30669ea6581b350d419d294c
Author: Chris Lamb <lamby at debian.org>
Date: Mon Nov 7 13:24:34 2016 +0000
reproducible Debian: Usual syntax is "if X not in Y" rather than "if not X in Y".
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_create_meta_pkg_sets.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 59d10d4..e0836cc 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -37,7 +37,7 @@ with open(sys.argv[1]) as fd:
try:
for pkg in (manifest['packages']['binary'] + manifest['packages']['source']):
pkgname = pkg['package']
- if not pkgname in seen:
+ if pkgname not in seen:
print(pkgname, end='|')
seen[pkgname] = True
except Exception as exc:
--
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