[Secure-testing-commits] r51443 - bin

Chris Lamb lamby at moszumanska.debian.org
Tue May 9 08:48:25 UTC 2017


Author: lamby
Date: 2017-05-09 08:48:25 +0000 (Tue, 09 May 2017)
New Revision: 51443

Modified:
   bin/contact-maintainers
Log:
contact-maintainers: Rework logic for next commit

Modified: bin/contact-maintainers
===================================================================
--- bin/contact-maintainers	2017-05-09 08:44:31 UTC (rev 51442)
+++ bin/contact-maintainers	2017-05-09 08:48:25 UTC (rev 51443)
@@ -97,7 +97,9 @@
 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.")




More information about the Secure-testing-commits mailing list