Skip to content

Commit 361d7ad

Browse files
author
Justin Boswell
authored
How does setup.py have 2 more lines on CD machines? (#159)
1 parent ad32217 commit 361d7ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

continuous-delivery/update-version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
with open(setup_path, 'r+') as setup_py:
1313
contents = setup_py.read()
1414
contents = re.sub(r'(\s)version="1\.0\.0-dev",', r'\1version="{}",'.format(version), contents)
15-
setup_py.seek(0, os.SEEK_SET)
15+
setup_py.seek(0)
1616
setup_py.write(contents)
1717

1818
setup = contents[contents.rfind('setuptools.setup'):]

0 commit comments

Comments
 (0)