Skip to content

Commit

Permalink
bug 1406703: fix fetch_crash_data.py
Browse files Browse the repository at this point in the history
This was trying to serialize a dictkeys--this fixes that.
  • Loading branch information
willkg committed Dec 11, 2018
1 parent 76faea5 commit 45defda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socorro/scripts/fetch_crash_data.py
Expand Up @@ -124,7 +124,7 @@ def fetch_crash(fetchdumps, outputdir, api_token, crash_id):
fn = os.path.join(outputdir, 'v1', 'dump_names', crash_id)
create_dir_if_needed(os.path.dirname(fn))
with open(fn, 'w') as fp:
json.dump(dumps.keys(), fp)
json.dump(list(dumps.keys()), fp)

# Save dumps to file system
for dump_name, data in dumps.items():
Expand Down

0 comments on commit 45defda

Please sign in to comment.