Skip to content

Commit

Permalink
Changed version mapping so that rc is kept.
Browse files Browse the repository at this point in the history
  • Loading branch information
deschler committed Dec 7, 2015
1 parent 27eccfd commit a4b9f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modeltranslation/__init__.py
Expand Up @@ -32,7 +32,7 @@ def get_version(version=None):
sub = '.dev%s' % git_changeset

elif version[3] != 'final':
mapping = {'alpha': 'a', 'beta': 'b', 'rc': 'c'}
mapping = {'alpha': 'a', 'beta': 'b', 'rc': 'rc'}
sub = mapping[version[3]] + str(version[4])

return str(main + sub)
Expand Down

0 comments on commit a4b9f42

Please sign in to comment.