mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unittest - Don't display "task diag" by default on error
This commit is contained in:
parent
d419fb9560
commit
617183612c
1 changed files with 0 additions and 2 deletions
|
@ -127,7 +127,6 @@ class Task(object):
|
|||
merge_streams=merge_streams, env=self.env)
|
||||
|
||||
if output[0] != 0:
|
||||
output = self.diag(merge_streams_with=output)
|
||||
raise CommandError(command, *output)
|
||||
|
||||
return output
|
||||
|
@ -154,7 +153,6 @@ class Task(object):
|
|||
|
||||
# output[0] is the exit code
|
||||
if output[0] == 0:
|
||||
output = self.diag(merge_streams_with=output)
|
||||
raise CommandError(command, *output)
|
||||
|
||||
return output
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue