Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cc-node
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
cc-node
Commits
f38611c9
Commit
f38611c9
authored
14 years ago
by
Thibault VINCENT
Browse files
Options
Downloads
Patches
Plain Diff
execute typo
parent
f5c9793b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ccnode/ccnodehandlers.py
+3
-3
3 additions, 3 deletions
ccnode/ccnodehandlers.py
ccnode/kvm.py
+1
-1
1 addition, 1 deletion
ccnode/kvm.py
with
4 additions
and
4 deletions
ccnode/ccnodehandlers.py
+
3
−
3
View file @
f38611c9
...
...
@@ -242,13 +242,13 @@ class NodeHandler(RpcHandler):
@pure
def
execute_command
(
self
,
command
):
'''
Ex
c
ecutes the given command on the local hypervisor
Executes the given command on the local hypervisor
:param command: the command to ex
c
ecute 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_ex
c
ecute
(
command
)
result
=
self
.
hv_handle
.
local_execute
(
command
)
return
result
...
...
This diff is collapsed.
Click to expand it.
ccnode/kvm.py
+
1
−
1
View file @
f38611c9
...
...
@@ -92,7 +92,7 @@ class KvmHypervisor(LibvirtHypervisor):
raise
VMError
(
'
Virtual machine %s not found:
'
%
name
)
def
local_ex
c
ecute
(
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment