Skip to content

Commit 55ee10f

Browse files
committed
Explicitly set saved_paths to list
1 parent 3e97714 commit 55ee10f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

turbinia/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ def format_task_status(
282282
task.get('name'), task.get('user'), task.get('worker_name'),
283283
success, status))
284284
saved_paths = task.get('saved_paths', [])
285+
if saved_paths is None:
286+
saved_paths = []
285287
for path in saved_paths:
286288
results.append('\t{0:s}'.format(path))
287289
else:

0 commit comments

Comments
 (0)