Skip to content

Commit

Permalink
Merge pull request #474 from kylelaker/fix-python-buffering
Browse files Browse the repository at this point in the history
Fix Python buffering in wrapper
  • Loading branch information
ripleymj authored Aug 29, 2021
2 parents ac2447b + 95b7e64 commit 1839605
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/common/templates/uug_ansible_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,11 @@ def on_run_clicked(self, _):
)

with TemporaryDirectory() as temp_dir:
# spawn_sync will not perform a path lookup; however, pkexec will
# spawn_sync will not perform a path lookup; however, pkexec and env will
cmd_args = [
'/usr/bin/pkexec',
"env",
"PYTHONUNBUFFERED=1",
'ansible-pull',
'--url',
USER_CONFIG['git_url'],
Expand Down

0 comments on commit 1839605

Please sign in to comment.