fixed json output
This commit is contained in:
parent
2976760fc1
commit
1be0187f5e
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ def _get_parent_hash(diff_id: str, phab: Phabricator, diff_json_path: str) -> st
|
|||
diff = phab.differential.getdiff(diff_id=diff_id)
|
||||
# Keep a copy of the Phabricator answer for later usage in a json file
|
||||
with open(diff_json_path,'w') as json_file:
|
||||
json.dump(diff, json_file, sort_keys=True, indent=4)
|
||||
json.dump(diff.response, json_file, sort_keys=True, indent=4)
|
||||
return diff['sourceControlBaseRevision']
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue