aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libbe/util/subproc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/util/subproc.py b/libbe/util/subproc.py
index 6ca1e80..b02b8e8 100644
--- a/libbe/util/subproc.py
+++ b/libbe/util/subproc.py
@@ -36,7 +36,7 @@ if _POSIX == True:
class CommandError(Exception):
def __init__(self, command, status, stdout=None, stderr=None):
strerror = ['Command failed (%d):\n %s\n' % (status, stderr),
- 'while executing\n %s' % command]
+ 'while executing\n %s' % str(command)]
Exception.__init__(self, '\n'.join(strerror))
self.command = command
self.status = status