test_urls: Drop dead code

This is solved by the "testsuite-fedora-rawhide" hack
This commit is contained in:
Cole Robinson 2018-10-18 11:46:19 -04:00
parent fe9aa7085b
commit cd122b9387
1 changed files with 0 additions and 7 deletions

View File

@ -133,13 +133,6 @@ def _sanitize_osdict_name(detectdistro):
# fedora when checking rawhide URL
return OSDB.latest_fedora_version()
if re.match("fedora[0-9]+", detectdistro):
if not OSDB.lookup_os(detectdistro):
ret = OSDB.latest_fedora_version()
print("\nConverting detectdistro=%s to latest value=%s" %
(detectdistro, ret))
return ret
return detectdistro