def get_delete_url(self, next):
        """
        Get the URL to use when deleting the project from the
        Aggregate List. This function will first check if there is a URL
        defined as <app_label>_aggregate_delete and return that if it
        exists, attaching "?next=<C{next}>" to the end of the URL.
        
        @param next: URL to redirect to after deleting object.
        
        @return: URL to go to when requesting the aggregate be deleted.
        """
        prefix = self.__class__.get_url_name_prefix()
        try:
            return reverse(prefix % "%s_aggregate_delete",
                           kwargs={'agg_id': self.id})+"?next=%s" % next
        except NoReverseMatch:
            return reverse("aggregate_delete",
                           kwargs={'agg_id': self.id})+"?next=%s" % next
dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/expedient/clearinghouse/aggregate/models.py/Aggregate.get_delete_url/swapped operands of `%`