"CommandStderr" -> "CommandError" in VCS._u_invoke()
authorW. Trevor King <wking@drexel.edu>
Tue, 17 Nov 2009 13:48:14 +0000 (08:48 -0500)
committerW. Trevor King <wking@drexel.edu>
Tue, 17 Nov 2009 13:48:14 +0000 (08:48 -0500)
Corrects a mistake from using string replace to move output,error ->
stdout,stderr a few commits ago.

libbe/vcs.py

index 45bc59ecca22579b73037c250a4629513e83bd2a..d04db2831f2620fa1f760aa79a612afe3dbe6472 100644 (file)
@@ -485,7 +485,7 @@ class VCS(object):
         if self.verboseInvoke == True:
             print >> sys.stderr, "%d\n%s%s" % (status, stdout, stderr)
         if status not in expect:
-            raise CommandStderr(args, status, stdout, stderr)
+            raise CommandError(args, status, stdout, stderr)
         return status, stdout, stderr
     def _u_invoke_client(self, *args, **kwargs):
         directory = kwargs.get('directory',None)