Changeset - c519638e5021
[Not reviewed]
default
0 1 0
timeless@gmail.com - 10 years ago 2016-05-03 14:10:06
timeless@gmail.com
spelling: probably
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/verlib.py
Show inline comments
 
@@ -251,7 +251,7 @@ def suggest_normalized_version(s):
 
    rs = re.sub(r"dev$", r"dev0", rs)
 

	
 
    # if we have something like "b-2" or "a.2" at the end of the
 
    # version, that is pobably beta, alpha, etc
 
    # version, that is probably beta, alpha, etc
 
    # let's remove the dash or dot
 
    rs = re.sub(r"([abc|rc])[\-\.](\d+)$", r"\1\2", rs)
 

	
0 comments (0 inline, 0 general)