def do_import():
    private_zones = MakeNamedDict(open(PRIVATE).read())
    public_zones = MakeNamedDict(open(PUBLIC).read())
    View.objects.get_or_create(name='public')
    View.objects.get_or_create(name='private')
    for zone_name, zone_meta in private_zones['orphan_zones'].iteritems():
        if zone_name in black_list:
            continue
        handle_zone(zone_name, zone_meta, False, True)
    for zone_name, zone_meta in public_zones['orphan_zones'].iteritems():
        if zone_name in black_list:
            continue
        handle_zone(zone_name, zone_meta, True, False)
dataset/ETHPy150Open mozilla/inventory/migrate_dns/import_utils.py/do_import/original