@classmethod
    def command_function(cls, cmd_name):
        try:
            return cls._cmds[cmd_name][0]
        except __HOLE__:
            raise CommandNotFoundError(cmd_name)
dataset/ETHPy150Open rackerlabs/openstack-guest-agents-unix/commands/__init__.py/CommandBase.command_function