mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-24 21:34:47 +03:00
urlfetcher: Fix rawhide URL detection (bz 1322011)
This commit is contained in:
parent
9d886e1440
commit
97b5961506
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user