[Secure-testing-commits] r43774 - bin

Chris Lamb lamby at moszumanska.debian.org
Thu Aug 4 17:49:17 UTC 2016


Author: lamby
Date: 2016-08-04 17:49:17 +0000 (Thu, 04 Aug 2016)
New Revision: 43774

Modified:
   bin/lts-missing-uploads.py
Log:
lts-missing-uploads: collapse pattern matching

Modified: bin/lts-missing-uploads.py
===================================================================
--- bin/lts-missing-uploads.py	2016-08-04 17:49:16 UTC (rev 43773)
+++ bin/lts-missing-uploads.py	2016-08-04 17:49:17 UTC (rev 43774)
@@ -130,11 +130,9 @@
         for x in self.session.get(url).content.splitlines():
             m = pattern.search(x.decode('utf8'))
 
-            if m is None:
-                continue
+            if m is not None:
+                result.append(m.groupdict())
 
-            result.append(m.groupdict())
-
         return result
 
     ##




More information about the Secure-testing-commits mailing list