[elbe-devel] [PATCH 4/6] init: switch from command_out() to do() to unhide gpg output

John Ogness john.ogness at linutronix.de
Wed Oct 2 00:21:37 CEST 2019


On 2019-10-01, Torben Hohn <torben.hohn at linutronix.de> wrote:
> command_out() returns the error code, and also returns the stdout.
> the return values are ignored in the respective codefragment though.
>
> switch to do() and add allow_fail=True, because gpg seems to return error
> when the key can not be validated completely.
>
> This was added to debug a problem, where the the elbe-keyring.gpg did
> not include all keys. But this somehow mitigated the problem.
>
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
> ---
>  elbepack/commands/init.py | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: John Ogness <john.ogness at linutronix.de>



More information about the elbe-devel mailing list