'Check project delete'

def _check_delete(self):

    now = time.time()
    for project in list(itervalues(self.projects)):
        if (project.db_status != 'STOP'):
            continue
        if ((now - project.updatetime) < self.DELETE_TIME):
            continue
        if ('delete' not in self.projectdb.split_group(project.group)):
            continue
        logger.warning('deleting    project:    %s!', project.name)
        del self.projects[project.name]
        self.taskdb.drop(project.name)
        self.projectdb.drop(project.name)
        if self.resultdb:
            self.resultdb.drop(project.name)
        for each in self._cnt.values():
            del each[project.name]
