aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-11-17 08:21:56 -0500
committerW. Trevor King <wking@drexel.edu>2009-11-17 08:21:56 -0500
commitb1dbae97e769346246e8a36424c60ce89ef7a310 (patch)
tree528a37d3ef3d32a1ea61b3336a8d723ebc5dfc34
parent0b51c1b9a7495821dcdf444eb636b4764b96c0b1 (diff)
downloadbugseverywhere-b1dbae97e769346246e8a36424c60ce89ef7a310.tar.gz
rename "output","error" -> "stdout","stderr" in VCS._u_invoke()
-rw-r--r--libbe/vcs.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbe/vcs.py b/libbe/vcs.py
index 7484660..c260af1 100644
--- a/libbe/vcs.py
+++ b/libbe/vcs.py
@@ -474,13 +474,13 @@ class VCS(object):
shell=True, cwd=cwd)
except OSError, e :
raise CommandError(args, status=e.args[0], stdout="", stderr=e)
- output,error = q.communicate(input=stdin)
+ stdout,stderr = q.communicate(input=stdin)
status = q.wait()
if self.verboseInvoke == True:
- print >> sys.stderr, "%d\n%s%s" % (status, output, error)
+ print >> sys.stderr, "%d\n%s%s" % (status, stdout, stderr)
if status not in expect:
- raise CommandError(args, status, output, error)
- return status, output, error
+ raise CommandStderr(args, status, stdout, stderr)
+ return status, stdout, stderr
def _u_invoke_client(self, *args, **kwargs):
directory = kwargs.get('directory',None)
expect = kwargs.get('expect', (0,))