Skip to content
Snippets Groups Projects
Commit 97342686 authored by Florent Thiery's avatar Florent Thiery
Browse files

check content appropriately, refs #20589

parent 11d36560
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ for s in conf_servers:
try:
url = "https://%s/old-releases.ubuntu.com/ubuntu/dists/lucid/Release.gpg" % v
print('Checking url certificate %s' % url)
d = requests.get(url, verify=False)
d = requests.get(url, verify=False).text
if not "BEGIN PGP SIGNATURE" in d:
all_ok = False
print('Unexpected content: %s' % d)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment