diff options
author | W. Trevor King <wking@drexel.edu> | 2010-01-19 08:48:33 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-01-19 08:48:33 -0500 |
commit | a3b0c3e2b90c392279208416eb6a603dae4a9b7a (patch) | |
tree | 133ffe84ba432052c44f4f432ed564307c3bf235 | |
parent | bcb526c0c8c48cfdcd34765198642b06d915114e (diff) | |
download | bugseverywhere-a3b0c3e2b90c392279208416eb6a603dae4a9b7a.tar.gz |
Generate string properly in libbe.util.subproc.CommandError
-rw-r--r-- | libbe/util/subproc.py | 2 |
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 |