Commit b593571d authored by Chris McDonough's avatar Chris McDonough

Fix for collector 974 (linefeeds in version.txt cause header problems).

parent 559a7b0c
......@@ -36,7 +36,7 @@ def _prep_version_data():
'\.(?P<minor>[0-9]+)\.(?P<micro>[0-9]+)'
'(?P<status>[A-Za-z]+)?(?P<release>[0-9]+)?')
try:
s = open(fn).read()
s = open(fn).read().strip()
except IOError:
ss = 'unreleased version'
_zope_version = (-1, -1, -1, '', -1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment