(location_type)
Updates supply points of locations of this type
Updates supply points of locations of this type
Updates supply points of locations of this type
def sync_administrative_status(location_type):
    """Updates supply points of locations of this type"""
    for location in SQLLocation.objects.filter(location_type=location_type):
        # Saving the location should be sufficient for it to pick up the
        # new supply point.  We'll need to save it anyways to store the new
        # supply_point_id.
        location.save()
def sync_administrative_status ( location_type ) : for location in SQLLocation . objects . filter ( location_type = location_type ) : # Saving the location should be sufficient for it to pick up the # new supply point.  We'll need to save it anyways to store the new # supply_point_id. location . save ( )