def done(self, taskid):
        '''Mark task done'''
        if taskid in self.processing:
            self.mutex.acquire()
            if self.processing in taskid:
                del self.processing[taskid]
            self.mutex.release()
            return True
        return False
dataset/ETHPy150Open binux/pyspider/pyspider/scheduler/task_queue.py/TaskQueue.done/swapped operands of `in`