Skip to content

Commit 08def18

Browse files
Ryan CaliRyan Cali
authored andcommitted
String formatting and flake8 issues resolved(2).
1 parent 2aff250 commit 08def18

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pydra/engine/audit.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,11 @@ def audit_task(self, task):
186186
if command is not None:
187187
cmd_name = command.split()[0]
188188
software = f"{cmd_name} --version"
189-
# take the first word of command as the name of the executable (this may not always be the case)
190-
version_cmd = sp.run(software, shell=True, stdout=sp.PIPE).stdout.decode(
191-
"utf-8"
192-
)
189+
# take the first word of command as the
190+
# name of the executable
191+
# (this may not always be the case)
192+
version_cmd = sp.run(software, shell=True,
193+
stdout=sp.PIPE).stdout.decode("utf-8")
193194
try:
194195
version_cmd = version_cmd.splitlines()[0]
195196

0 commit comments

Comments
 (0)