[Secure-testing-commits] r38614 - bin

Ben Hutchings benh at moszumanska.debian.org
Thu Dec 31 00:29:06 UTC 2015


Author: benh
Date: 2015-12-31 00:29:06 +0000 (Thu, 31 Dec 2015)
New Revision: 38614

Modified:
   bin/contact-maintainers
Log:
contact-maintainers: Fix PTS URL for lib-packages

Modified: bin/contact-maintainers
===================================================================
--- bin/contact-maintainers	2015-12-31 00:23:22 UTC (rev 38613)
+++ bin/contact-maintainers	2015-12-31 00:29:06 UTC (rev 38614)
@@ -39,7 +39,8 @@
         maint = []
 
         graph = rdflib.Graph()
-        graph.parse('https://packages.qa.debian.org/{}/{}.rdf'.format(pkg[0], pkg))
+        graph.parse('https://packages.qa.debian.org/{}/{}.rdf'
+                    .format(re.match('((?:lib)?.)', pkg).group(1), pkg))
         for contrib in graph[project : has_contributor]:
             names = [n for n in graph[contrib : is_named]]
             addresses = [urllib.unquote(m.group(1)) for m in




More information about the Secure-testing-commits mailing list