aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvolpino <fox91@anche.no>2012-08-08 12:21:07 +0200
committervolpino <fox91@anche.no>2012-08-08 12:21:07 +0200
commit2b75908205203d9fc357daf446272c68b54f1ebc (patch)
tree11b3b1163daa2255f3ccf5a71b07bf4c9a854251 /pym/euscan
parenteuscan: Improving Berlios and Sourceforge handlers (diff)
parenteuscan: default mangling rule is gentoo (diff)
downloadeuscan-2b75908205203d9fc357daf446272c68b54f1ebc.tar.gz
euscan-2b75908205203d9fc357daf446272c68b54f1ebc.tar.bz2
euscan-2b75908205203d9fc357daf446272c68b54f1ebc.zip
Merge branch 'master' of https://github.com/iksaif/euscan
Diffstat (limited to 'pym/euscan')
-rw-r--r--pym/euscan/mangling.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/euscan/mangling.py b/pym/euscan/mangling.py
index 9c2dba6..203eb21 100644
--- a/pym/euscan/mangling.py
+++ b/pym/euscan/mangling.py
@@ -47,6 +47,9 @@ def apply_mangling_rules(kind, rules, 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)