summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-05-03 09:43:56 -0400
committerBarry Warsaw2011-05-03 09:43:56 -0400
commit2f683e5904daa97c98a8c6081dc93ef8bc8f3133 (patch)
treeb2d8caded595ba034e9b8c3c73b29150b15a19c8 /setup.py
parenteb7fca85f0b2a1a18daca761a5f5f6d9ffb76a43 (diff)
downloadmailman-2f683e5904daa97c98a8c6081dc93ef8bc8f3133.tar.gz
mailman-2f683e5904daa97c98a8c6081dc93ef8bc8f3133.tar.zst
mailman-2f683e5904daa97c98a8c6081dc93ef8bc8f3133.zip
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
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<version>[^"]+?)"', line)
+ mo = re.match("VERSION = '(?P<version>[^']+?)'", line)
if mo:
__version__ = mo.group('version')
break