diff options
author | Guido Günther <agx@sigxcpu.org> | 2013-04-29 22:33:37 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-04-29 22:33:46 +0200 |
commit | f270a1803613d256e22ff220374776bcb557423a (patch) | |
tree | 01f6f7fa921644b0a9681b8d1ad7f3511ee24da5 /gbp/command_wrappers.py | |
parent | 8541450530477273798747c4f778049c8a6bb8bd (diff) |
Silence dpkg --compare-versions
and add the error detail to the exception message. This silences the
testsuite and makes sure we have error message and exception output in
sync.
Diffstat (limited to 'gbp/command_wrappers.py')
-rw-r--r-- | gbp/command_wrappers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/command_wrappers.py b/gbp/command_wrappers.py index 6c97624c..8a131e11 100644 --- a/gbp/command_wrappers.py +++ b/gbp/command_wrappers.py @@ -124,7 +124,8 @@ class Command(object): def call(self, args): """ - Like __call__ but let the caller handle the return status. + Like __call__ but let the caller handle the return status and don't + use the logging api for errors. >>> Command("/bin/true").call(["foo", "bar"]) 0 |