The pki pkcs12-import has been modified to suppress the output of external command execution and display a completion message more consistently.
https://fedorahosted.org/pki/ticket/2399 Pushed to master under one-liner/trivial rule. -- Endi S. Dewata
>From 12e24ae0eb3f6fb7e0f71b95e3911f45594c5965 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" <[email protected]> Date: Thu, 7 Jul 2016 03:52:09 +0200 Subject: [PATCH] Fixed pki pkcs12-import output. The pki pkcs12-import has been modified to suppress the output of external command execution and display a completion message more consistently. https://fedorahosted.org/pki/ticket/2399 --- base/common/python/pki/cli/pkcs12.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/base/common/python/pki/cli/pkcs12.py b/base/common/python/pki/cli/pkcs12.py index 145f1258e3b38cae38205c0f22b074d2bdc8004f..ded79c7cd884d2ce91c73aa39a2c9f02516d7067 100644 --- a/base/common/python/pki/cli/pkcs12.py +++ b/base/common/python/pki/cli/pkcs12.py @@ -314,4 +314,7 @@ class PKCS12ImportCLI(pki.cli.CLI): cmd.extend(nicknames) - main_cli.execute_java(cmd) + with open(os.devnull, 'w') as f: + main_cli.execute_java(cmd, stdout=f) + + self.print_message('Import complete') -- 2.5.5
_______________________________________________ Pki-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/pki-devel
