diff options
author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-08-20 07:57:34 -0500 |
---|---|---|
committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-08-20 07:57:34 -0500 |
commit | 862e89fb5ccfee7764f84d2aa15ffd140a0dbbd4 (patch) | |
tree | 7a9b36f292c1cf4a716c8800821191b0ca722319 | |
parent | 91253e7f132b9cea7e8f0c8659491b67e3d1d9b9 (diff) | |
download | uritemplates-862e89fb5ccfee7764f84d2aa15ffd140a0dbbd4.tar.gz |
Handle RC1 in the version string
-rw-r--r-- | uritemplate/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uritemplate/__init__.py b/uritemplate/__init__.py index bcee6ab..03abf08 100644 --- a/uritemplate/__init__.py +++ b/uritemplate/__init__.py @@ -17,7 +17,7 @@ __author__ = 'Ian Cordasco' __license__ = 'Modified BSD or Apache License, Version 2.0' __copyright__ = 'Copyright 2013 Ian Cordasco' __version__ = '2.0.0rc1' -__version_info__ = tuple(int(i) for i in __version__.split('.')) +__version_info__ = tuple(int(i) for i in __version__.split('.') if i.isdigit()) from uritemplate.api import URITemplate, expand, partial # noqa: E402 |