Commit 0c05a91 [frontend] fix opensuse-leap-15.0 repo file download

1 file Authored and Committed by clime 3 months ago
[frontend] fix opensuse-leap-15.0 repo file download

    
 1 @@ -686,7 +686,8 @@
 2   
 3           returns ("os", "version", "arch") or ("os", "version", None)
 4           """
 5 -         split_name = name.rsplit("-", 2)
 6 +         split_name = name.rsplit("-", 1) if noarch else name.rsplit("-", 2)
 7 + 
 8           valid = False
 9           if noarch and len(split_name) in [2, 3]:
10               valid = True