summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
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