Skip to content

Commit

Permalink
Merge pull request kapicorp#92 from deepmind/update_targets.py
Browse files Browse the repository at this point in the history
add ujson escape_forward_slashes and remove sort_keys (it doesn't support it)
  • Loading branch information
adrianchifor authored May 9, 2018
2 parents 2d3a343 + 25abab3 commit d7ba2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kapitan/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def write_json(self, obj):
self.sub_token_reveal_obj(obj)
else:
self.sub_token_compiled_obj(obj)
json.dump(obj, self.fp, indent=4, sort_keys=True)
json.dump(obj, self.fp, indent=4, escape_forward_slashes=False)

def sub_token_compiled_obj(self, obj):
"recursively find and replace tokens with hashed tokens in obj"
Expand Down

0 comments on commit d7ba2af

Please sign in to comment.