mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
version quotes
This commit is contained in:
parent
634a8ec9f2
commit
94c09014ec
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue