euscan: default mangling rule is gentoo
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
This commit is contained in:
parent
b03541c97d
commit
5caca5f41f
@ -44,6 +44,9 @@ def apply_mangling_rules(kind, rules, string):
|
||||
return string
|
||||
|
||||
def mangle_version(up_pv, options):
|
||||
# Default rule is gentoo when empty
|
||||
if 'versionmangle' not in options or not options['versionmangle']:
|
||||
options['versionmangle'] = ['gentoo']
|
||||
return apply_mangling_rules('versionmangle', options, up_pv)
|
||||
|
||||
def mangle_url(url, options):
|
||||
|
Loading…
Reference in New Issue
Block a user