diff options
author | Chris Lamb <lamby@debian.org> | 2017-05-09 08:48:25 +0000 |
---|---|---|
committer | Chris Lamb <lamby@debian.org> | 2017-05-09 08:48:25 +0000 |
commit | 699332c70b9b293632b4018279cefa8611900e3c (patch) | |
tree | 6c7bbb894e00bc324465ca1917c709fb84f28658 /bin/contact-maintainers | |
parent | 86a7b633daf210ce595a6eab7a662a51d32a2b1b (diff) |
contact-maintainers: Rework logic for next commit
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@51443 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/contact-maintainers')
-rwxr-xr-x | bin/contact-maintainers | 4 |
1 files changed, 3 insertions, 1 deletions
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.") |