[Secure-testing-commits] r58189 - check-external
Salvatore Bonaccorso
carnil at moszumanska.debian.org
Fri Dec 1 18:18:47 UTC 2017
Author: carnil
Date: 2017-12-01 18:18:47 +0000 (Fri, 01 Dec 2017)
New Revision: 58189
Modified:
check-external/unknown-packages.py
Log:
unknown-packages: Use sources.debian.org rather than sources.debian.net
Modified: check-external/unknown-packages.py
===================================================================
--- check-external/unknown-packages.py 2017-12-01 18:18:45 UTC (rev 58188)
+++ check-external/unknown-packages.py 2017-12-01 18:18:47 UTC (rev 58189)
@@ -49,7 +49,7 @@
def fromSources(pkg):
try:
- data = json.load(urllib2.urlopen('http://sources.debian.net/api/src/%s/latest/' %pkg))
+ data = json.load(urllib2.urlopen('http://sources.debian.org/api/src/%s/latest/' %pkg))
except urllib2.HTTPError as e:
return []
if 'error' in data: return []
More information about the Secure-testing-commits
mailing list