@_errorHandle
    def callToUser(self, command, domain, *args):
        """ A wrapper function for call to remote user.

            @param command:    The command to be executed
            @type  command:    string
        """
        if domain == 'admin':
            self._user.callRemote(command, *args)
        else:
            self._user[domain].callRemote(command, *args)
dataset/ETHPy150Open rapyuta/rce/rce-console/rce/console/console.py/ConsoleClient.callToUser/original