Skip to content
Snippets Groups Projects
Commit 1b9cab2c authored by Hans Fangohr's avatar Hans Fangohr
Browse files

add quotes around the arguments (minor stylistic thing)

- also remove 'exact call:': that's kind of obvious
parent e096b80b
No related branches found
No related tags found
1 merge request!42add CompletedProcess in logging of `run`
Pipeline #370361 failed
...@@ -408,8 +408,8 @@ def run(*args, counter=[0], **kwargs): ...@@ -408,8 +408,8 @@ def run(*args, counter=[0], **kwargs):
# provide information about upcoming subprocess.run call # provide information about upcoming subprocess.run call
logging.info(f"{token} Starting subprocess.run('{command}') with options {options}") logging.info(f"{token} Starting subprocess.run('{command}') with options {options}")
logging.debug(f"{token} getcwd={os.getcwd()}") logging.debug(f'''{token} getcwd={os.getcwd()}''')
logging.debug(f"{token} exact call: subprocess.run({arg})") logging.debug(f'''{token} subprocess.run("{arg}")''')
time_start = time.time() time_start = time.time()
process = subprocess.run(*args, **kwargs) process = subprocess.run(*args, **kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment