File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -829,8 +829,8 @@ def convert_for_yaml(original_json: types.ObjectJsonRepr) -> types.ObjectJsonRep
829829 original_json ["permissions" ] = permissions .convert_for_yaml (original_json ["permissions" ])
830830 if "permissionTemplates" in original_json :
831831 for tpl in original_json ["permissionTemplates" ].values ():
832- log . debug ( "Convert TPL %s" , str ( tpl [ " permissions"]))
833- tpl ["permissions" ] = permissions .convert_for_yaml (tpl ["permissions" ])
832+ if " permissions" in tpl :
833+ tpl ["permissions" ] = permissions .convert_for_yaml (tpl ["permissions" ])
834834 original_json ["permissionTemplates" ] = util .dict_to_list (original_json ["permissionTemplates" ], "name" )
835835 if "devopsIntegration" in original_json :
836836 original_json ["devopsIntegration" ] = util .dict_to_list (original_json ["devopsIntegration" ], "name" )
You can’t perform that action at this time.
0 commit comments