'@todo: docstring'

def priority(self, complete_id, priorityObj):

    priorityList = priorityObj.range
    priority = 0
    try:
        zscore = self.zscore[complete_id]
        for limit in priorityList:
            if (zscore <= limit):
                return priority
            priority += 1
        return priority
    except:
        return (-1)
