

def handle(self, directive, data):
    if (directive != self._directive):
        raise ValueError(('Shell cannot handle directive %s' % directive))
    return self._process_commands(data)

dataset/ETHPy150Open anishathalye/dotbot/plugins/shell.py Shell.handle/original