urlfetcher: Fix rawhide URL detection (bz 1322011)

This commit is contained in:
Cole Robinson 2016-04-07 17:20:18 -04:00
parent 9d886e1440
commit 97b5961506

View File

@ -797,10 +797,11 @@ class FedoraDistro(RedHatDistro):
if not ver:
return False
if ver == "development" or ver == "rawhide":
# rawhide trees changed to use version=Rawhide in Apr 2016
if ver in ["development", "rawhide", "Rawhide"]:
self._version_number = latestnum
self.os_variant = lateststr
return
return True
if "_" in ver:
ver = ver.split("_")[0]