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 | ae9be31df0012c4e4140e63ec79784b9d440b364 (patch) | |
tree | 37dce3c9877ebe81b0a59d0ce935d39450774c44 /bin/contact-maintainers | |
parent | b4273c37f50b566e25c9b5316b23e18d82c3124b (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.") |