Skip to content

Commit 4a2912d

Browse files
committed
[bug-reducer] If extra_args is None, set self.extra_args to [], not None since list.extend does not accept None as an iterable... Oops.
1 parent 2302f59 commit 4a2912d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/bug_reducer/bug_reducer/bug_reducer_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class SILToolInvoker(object):
9595

9696
def __init__(self, config, extra_args=None):
9797
self.config = config
98-
self.extra_args = extra_args
98+
self.extra_args = extra_args or []
9999

100100
def base_args(self, emit_sib):
101101
x = [self.tool]

0 commit comments

Comments
 (0)