Review feedback

This commit is contained in:
Josh Kearney 2011-05-06 15:41:36 -05:00
parent 7860f72c91
commit 6425095be3

View File

@ -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, a tuple of (return code, stdout) is returned.
Otherwise, a tuple of (return code, stdout data) is returned.
"""
pipe = subprocess.PIPE
proc = subprocess.Popen(cmd, stdin=pipe, stdout=pipe, stderr=pipe,