delete location from this routing area
        :param location: the location to be deleted from this routing area
        :param sync: If sync=True(default) synchronize with Ariane server. If sync=False,
        add the location object on list to be removed on next save().
        :return:

def del_location(self, location, sync=True):
        """
        delete location from this routing area
        :param location: the location to be deleted from this routing area
        :param sync: If sync=True(default) synchronize with Ariane server. If sync=False,
        add the location object on list to be removed on next save().
        :return:
        """
        LOGGER.debug("RoutingArea.del_location")
        if not sync:
            self.loc_2_rm.append(location)
        else:
            if location.id is None:
                location.sync()
            if self.id is not None and location.id is not None:
                params = {
                    'id': self.id,
                    'locationID': location.id
                }
                args = {'http_operation': 'GET', 'operation_path': 'update/locations/delete', 'parameters': params}
                response = RoutingAreaService.requester.call(args)
                if response.rc != 0:
                    LOGGER.warning(
                        'RoutingArea.del_location - Problem while updating routing area ' + self.name +
                        '. Reason: ' + str(response.response_content) + '-' + str(response.error_message) +
                        " (" + str(response.rc) + ")"
                    )
                else:
                    self.loc_ids.remove(location.id)
                    location.routing_area_ids.remove(self.id)
            else:
                LOGGER.warning(
                    'RoutingArea.del_location - Problem while updating routing area ' +
                    self.name + '. Reason: location ' +
                    location.name + ' id is None or self.id is None'
                )