euscan: fix mangling

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
This commit is contained in:
Corentin Chary 2012-08-15 11:29:29 +02:00
parent bbfcc3d6d5
commit b97fb74dc3

View File

@ -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)