From f111b726f16e9402073185aea8e8978257fada55 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Sat, 23 Aug 2014 01:30:20 +0300 Subject: [PATCH] Make version format PEP 440 compatible --- aiozmq/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiozmq/__init__.py b/aiozmq/__init__.py index ea66569..718998b 100644 --- a/aiozmq/__init__.py +++ b/aiozmq/__init__.py @@ -30,7 +30,7 @@ def _parse_version(ver): major = int(match.group('major')) minor = int(match.group('minor')) micro = int(match.group('micro')) - levels = {'rc': 'candidate', + levels = {'c': 'candidate', 'a': 'alpha', 'b': 'beta', None: 'final'}