version quotes

This commit is contained in:
Anthony Scopatz 2018-08-30 09:25:36 -05:00
parent 634a8ec9f2
commit 94c09014ec

View file

@ -187,7 +187,7 @@ def replace_version(N):
msg_assert = "__version__ must be the first line of the __init__.py"
assert "__version__" in lines[0], msg_assert
ORIGINAL_VERSION_LINE = lines[0]
lines[0] = lines[0].rstrip(" '") + ".dev{}'".format(N)
lines[0] = lines[0].rstrip(' "') + '.dev{}"'.format(N)
upd = "\n".join(lines) + "\n"
with open("xonsh/__init__.py", "w") as f:
f.write(upd)