euscan: fix mangling
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
This commit is contained in:
parent
bbfcc3d6d5
commit
b97fb74dc3
@ -31,7 +31,7 @@ def apply_mangling_rules(kind, rules, string):
|
|||||||
ret = None
|
ret = None
|
||||||
|
|
||||||
# First try handlers rules
|
# First try handlers rules
|
||||||
if rule == 'gentoo' and kind == 'version':
|
if rule == 'gentoo' and kind == 'versionmangle':
|
||||||
ret = gentoo_mangle_version(string)
|
ret = gentoo_mangle_version(string)
|
||||||
elif kind == 'downloadurlmangle':
|
elif kind == 'downloadurlmangle':
|
||||||
ret = euscan.handlers.mangle_url(rule, string)
|
ret = euscan.handlers.mangle_url(rule, string)
|
||||||
|
Loading…
Reference in New Issue
Block a user