Hi,

On 01/04/15 21:13, "Guido G√ľnther" <a...@sigxcpu.org> wrote:

>On Thu, Feb 05, 2015 at 05:13:11PM +0200, Markus Lehtonen wrote:
>> Makes it possible to get all command output from stdout.
>> 
>> Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
>> ---
>>  gbp/command_wrappers.py | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>> 
>> diff --git a/gbp/command_wrappers.py b/gbp/command_wrappers.py
>> index d66bfda..f8c50f1 100644
>> --- a/gbp/command_wrappers.py
>> +++ b/gbp/command_wrappers.py
>> @@ -68,7 +68,8 @@ class Command(object):
>>          log.debug("%s %s %s" % (self.cmd, self.args, args))
>>          self._reset_state()
>>          stdout_arg = subprocess.PIPE if self.capture_stdout else None
>> -        stderr_arg = subprocess.PIPE if self.capture_stderr else None
>> +        stderr_arg = subprocess.PIPE if self.capture_stderr else \
>> +                                        subprocess.STDOUT
>
>I'd rather keep these separate (being able to not capture at all).

OK, that's probably a good idea. I'll drop this patch.


Thanks,
   Markus


_______________________________________________
git-buildpackage mailing list
git-buildpackage@lists.sigxcpu.org
http://lists.sigxcpu.org/mailman/listinfo/git-buildpackage

Reply via email to