From 2f683e5904daa97c98a8c6081dc93ef8bc8f3133 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 3 May 2011 09:43:56 -0400 Subject: Fixed version number regexp. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 38cddd545..50b79006c 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ if sys.hexversion < 0x20600f0: # Calculate the version number without importing the mailman package. with open('src/mailman/version.py') as fp: for line in fp: - mo = re.match('VERSION = "(?P[^"]+?)"', line) + mo = re.match("VERSION = '(?P[^']+?)'", line) if mo: __version__ = mo.group('version') break -- cgit v1.2.3-70-g09d2