Skip to content

Commit

Permalink
fix for hosting types that don't change in convert_1.3.2_to_1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Bassett committed Nov 29, 2018
1 parent 59e53fc commit 4fd741f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/convert_1.3.2_to_1.3.3.py
Expand Up @@ -231,7 +231,7 @@ def main(cfg):

if 'asset' in incident:
if 'hosting' in incident['asset']:
incident['asset']['hosting'] = [gov_hosting_lookup[incident['asset']['hosting']]]
incident['asset']['hosting'] = [gov_hosting_lookup.get(incident['asset']['hosting'], incident['asset']['hosting'])]
if 'ownership' in incident['asset']:
incident['asset']['ownership'] = [incident['asset']['ownership']]
if 'management' in incident['asset']:
Expand Down

0 comments on commit 4fd741f

Please sign in to comment.