summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJosh Kearney <josh@jk0.org>2011-05-06 15:19:55 -0500
committerJosh Kearney <josh@jk0.org>2011-05-06 15:19:55 -0500
commit7860f72c911dd91b69082cb5cdb2e625710526c1 (patch)
tree809dfd2c11f1384fbbdf63f535a9b40425985b47 /plugins
parent8c336fa339d9038f5430f7ffd82df3a54e67196f (diff)
downloadnova-7860f72c911dd91b69082cb5cdb2e625710526c1.tar.gz
nova-7860f72c911dd91b69082cb5cdb2e625710526c1.tar.xz
nova-7860f72c911dd91b69082cb5cdb2e625710526c1.zip
Review feedback
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py
index 5b45a9845..55f3911e7 100755
--- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py
+++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py
@@ -171,7 +171,7 @@ def _paths_from_ls(recs):
def _run_command(cmd):
"""Abstracts out the basics of issuing system commands. If the command
returns anything in stderr, a PluginError is raised with that information.
- Otherwise, the output from stdout is returned.
+ Otherwise, a tuple of (return code, stdout) is returned.
"""
pipe = subprocess.PIPE
proc = subprocess.Popen(cmd, stdin=pipe, stdout=pipe, stderr=pipe,