'Resolves the given processing issues.  If not type is given
all processing issues for scope and object are resolved regardless
of the type.'

def resolve_processing_issue(self, project, scope, object, type=None):

    checksum = get_processing_issue_checksum(scope, object)
    q = ProcessingIssue.objects.filter(project=project, checksum=checksum)
    if (type is not None):
        q = q.filter(type=type)
    q.delete()
