We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efd62ee commit 55f6935Copy full SHA for 55f6935
setup.py
@@ -45,10 +45,7 @@
45
VERSION += "." + MATCH.group("post")
46
47
with open("rethinkdb/version.py", "w") as f:
48
- f.writelines([
49
- "# Autogenerated version",
50
- "VERSION = {0}".format(VERSION)
51
- ])
+ f.write('VERSION = {0}'.format(repr(VERSION)))
52
else:
53
raise RuntimeError("{!r} does not match version format {!r}".format(
54
RETHINKDB_VERSION_DESCRIBE, VERSION_RE))
0 commit comments