Exemplo n.º 1
0
def list_whitelisted_jurisdictions():
    jurisdictions = utils.get_jurisdictions()
    utils.print_info("Whitelisted jurisdictions")
    for jurisdiction in jurisdictions:
        if jurisdiction["whitelisted"]:
            print(jurisdiction['name_long'])
    return jurisdictions
Exemplo n.º 2
0
def list_blacklisted_jurisdictions():
    utils.print_info("Blacklisted jurisdictions")
    jurisdictions = utils.get_jurisdictions()
    for jurisdiction in jurisdictions:
        if not jurisdiction["whitelisted"]:
            print(jurisdiction['name_long'])
    return jurisdictions
Exemplo n.º 3
0
def list_jurisdictions():
    jurisdictions = utils.get_jurisdictions()
    for jurisdiction in jurisdictions:
        print(jurisdiction['name_long'])
    return jurisdictions