Skip to content

Commit

Permalink
In commit_yamsql_updates switch away from text parameter (#3086)
Browse files Browse the repository at this point in the history
Instead of `text`, in `subprocess.run` use `universal_newlines`
The former is an alias for the latter.
  • Loading branch information
ScottDugas authored Feb 3, 2025
1 parent b69224e commit 07142c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/commit_yamsql_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def main(argv):
args = parser.parse_args(argv)

process = subprocess.run(['git', 'status', '--porcelain=v1', '--untracked=no', '--no-renames'],
check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
should_commit = False
for line in process.stdout.splitlines():
indexState = line[0]
Expand Down

0 comments on commit 07142c1

Please sign in to comment.