def __getitem__(self, key):
        '''Find a task with the provided name'''
        current = self.map
        split = key.split('.')
        for module in split[:-1]:
            if current not in module:
                raise KeyError('Module not found')
            current = current[module].map
        if split[-1] not in current:
            raise KeyError('Task not found')
        return current[split[-1]]
dataset/ETHPy150Open seomoz/shovel/shovel/tasks.py/Shovel.__getitem__/swapped operands of `not in`