Skip to content

Commit d310320

Browse files
committed
Removed some accidental mixup
1 parent 7edaa1f commit d310320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ci_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def patch_file(file_name: str) -> None:
183183
# when invoking a subprocess, bash stores the location where
184184
# it's supposed to continue parsing from, so it's a good idea
185185
# to to not move things around
186-
line = line.rstrip('\n').replace(OLD_REPO, NEW_REPO) + ' \n'
186+
line = line.replace(OLD_REPO, NEW_REPO)[:-1] + ' \n'
187187
outf.write(line)
188188
os.chmod(file_name + '._new_', os.stat(file_name).st_mode)
189189
os.rename(file_name + '._new_', file_name)

0 commit comments

Comments
 (0)