From 1a6c1c2a2650e55bb7d0c6c33a6733b565317420 Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Mon, 10 Oct 2022 19:26:50 +0000 Subject: [PATCH] Revert "Do not output log on bash autocomplete generation" This reverts commit 973e16960d3d8054e3d6b367033ea975900741c0. Reason for revert: This patch is wrong, it actually breaks the generated autocomplete output. Change-Id: I553b76da9ba32d04d6ec4fcac88217616b7fc3ac --- osc_lib/shell.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/osc_lib/shell.py b/osc_lib/shell.py index ec8e55c..5d673d3 100644 --- a/osc_lib/shell.py +++ b/osc_lib/shell.py @@ -144,8 +144,7 @@ class OpenStackShell(app.App): return ret_val finally: - if 'complete' not in argv: - self.log.info("END return value: %s", ret_val) + self.log.info("END return value: %s", ret_val) def init_profile(self): self.do_profile = osprofiler_profiler and self.options.profile