Commit f38611c9 authored by Thibault VINCENT's avatar Thibault VINCENT
Browse files

execute typo

parent f5c9793b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -242,13 +242,13 @@ class NodeHandler(RpcHandler):
    @pure
    def execute_command(self, command):
        '''
        Excecutes the given command on the local hypervisor
        Executes the given command on the local hypervisor

        :param command: the command to excecute as it would be typed on a shell
        :param command: the command to execute as it would be typed on a shell
            prompt
        :type command: :class:`str`
        '''
        result = self.hv_handle.local_excecute(command)
        result = self.hv_handle.local_execute(command)
        return result


+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ class KvmHypervisor(LibvirtHypervisor):
        raise VMError('Virtual machine %s not found: ' % name)


    def local_excecute(self, command):
    def local_execute(self, command):
        '''
        Excecutes the command given in command on the local host
        Returns a tuple with (stdout, stderr) from the process that has