From 699332c70b9b293632b4018279cefa8611900e3c Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 9 May 2017 08:48:25 +0000 Subject: contact-maintainers: Rework logic for next commit git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@51443 e39458fd-73e7-0310-bf30-c45bca0a0e42 --- bin/contact-maintainers | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/contact-maintainers') diff --git a/bin/contact-maintainers b/bin/contact-maintainers index d543c07d0b..7ee5cc67ef 100755 --- a/bin/contact-maintainers +++ b/bin/contact-maintainers @@ -97,7 +97,9 @@ dontcall = "data/packages/lts-do-not-call" if args.lts and not args.force: with open(dontcall) as f: for line in f: - if line[0] != '#' and line.split()[0] == args.package: + if line[0] == '#': + continue + if line.split()[0] == args.package: print "Maintainer(s) may not be contacted for LTS issues." print("Please have a look at {}".format(line.split()[1])) print("If you still want to run this script, run it with --force.") -- cgit v1.2.3