Review feedback

This commit is contained in:
Josh Kearney 2011-05-06 15:19:55 -05:00
parent 8c336fa339
commit 7860f72c91

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, 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,