Delete all CouchDB users

def delete_all_couchdb_admins():
    '''
        Delete all CouchDB users
    '''
    # Get current cozy token
    username = get_admin()[0]
    # Get CouchDB admin list
    admins = get_couchdb_admins()

    # Delete all admin user excluding current
    for admin in admins:
        if admin == username:
            print "Delete {} later...".format(admin)
        else:
            print "Delete {}".format(admin)
            delete_couchdb_admin(admin)

    # Delete current CouchDB admin
    admin = username
    print "Delete {}".format(admin)
    delete_couchdb_admin(admin)