Skip to content
Snippets Groups Projects
Select Git revision
  • main
1 result

sendJson.go

Blame
  • delete_merged_branches.py 367 B
    from functions import *
    
    
    def repo_action(project_meta):
        path = "/projects/" + str(project_meta['id']) + "/repository/merged_branches"
        r = requests.delete(url=get_url(path))
        if r.ok:
            print("Updated: " + project_meta['name'])
        else:
            print("ERROR: " + project_meta['name'])
    
    
    if __name__ == "__main__":
        iterate_on_groups(repo_action)