Index: subprocess2.py |
diff --git a/subprocess2.py b/subprocess2.py |
index 6e138a503fbbd22340ab74c65f2e4580536ac0ee..258b63774725d96c4f70959a5950a8f635a61ace 100644 |
--- a/subprocess2.py |
+++ b/subprocess2.py |
@@ -40,7 +40,7 @@ class CalledProcessError(subprocess.CalledProcessError): |
self.cwd = cwd |
def __str__(self): |
- out = 'Command %s returned non-zero exit status %s' % ( |
+ out = "Command %r returned non-zero exit status %s" % ( |
iannucci
2015/06/01 21:51:58
we prefer single quotes in this file, I think.
Sam Clegg
2015/06/01 21:58:45
Done.
|
' '.join(self.cmd), self.returncode) |
if self.cwd: |
out += ' in ' + self.cwd |