Пример #1
0
    def _get_command(self, line):
        values = line.strip().split(' ', 1)

        return commands.get(values[0])
Пример #2
0
    def _get_command(self, line):
        values = line.strip().split(' ', 1)

        return commands.get(values[0])