Skip to content

Commit 537328c

Browse files
authored
changed argument_list back to list after filtering (#682)
* changed argument_list back to list after filtering * fixed closing brackets
1 parent bb13fa1 commit 537328c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipeline/compilers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def execute_command(self, command, cwd=None, stdout_captured=None):
116116

117117
# The first element in argument_list is the program that will be executed; if it is '', then
118118
# a PermissionError will be raised. Thus empty arguments are filtered out from argument_list
119-
argument_list = filter(None, argument_list)
119+
argument_list = list(filter(None, argument_list))
120120
stdout = None
121121
try:
122122
# We always catch stdout in a file, but we may not have a use for it.

0 commit comments

Comments
 (0)