Stop translating license for Fedora and EPEL
The infrastracture to translate the license remains in place. We can remove it later, when all users are gone. I'm keeping the behaviour for Mageia unchanged for now. I assume that they'll want to follow the change in Fedora later too. We still want to do syntax cleanup with translate_slashes(). Fixes #193.
This commit is contained in:
parent
92edcce644
commit
03584a81e4
1 changed files with 1 additions and 1 deletions
|
@ -58,6 +58,6 @@ def translate_license_fedora(license):
|
||||||
|
|
||||||
def translate_license(target, license):
|
def translate_license(target, license):
|
||||||
license = translate_slashes(license)
|
license = translate_slashes(license)
|
||||||
if target in {"fedora", "epel", "mageia"}:
|
if target in {"mageia"}:
|
||||||
return translate_license_fedora(license)
|
return translate_license_fedora(license)
|
||||||
return license, None
|
return license, None
|
||||||
|
|
Loading…
Reference in a new issue