This commit is contained in:
volpino 2012-08-08 12:21:07 +02:00
commit 2b75908205

View File

@ -47,6 +47,9 @@ def apply_mangling_rules(kind, rules, string):
def mangle_version(up_pv, options): 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) return apply_mangling_rules('versionmangle', options, up_pv)