From: Jan Kiszka <
jan.k...@siemens.com>
The exception printer expects a list or will otherwise generate weird
outputs such as
Command "f a l s e ' ' w i t h ' ' a r g" failed with error 1
Reported-by: Jörg Sommer <
joerg....@navimatix.de>
Fixes: 222f07de69a3 ("refactor: port all sys.exit over to kas exceptions")
Signed-off-by: Jan Kiszka <
jan.k...@siemens.com>
---
kas/plugins/for_all_repos.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kas/plugins/for_all_repos.py b/kas/plugins/for_all_repos.py
index 14cdb4b..5ca3553 100644
--- a/kas/plugins/for_all_repos.py
+++ b/kas/plugins/for_all_repos.py
@@ -133,7 +133,7 @@ class ForAllReposCommand(Command):
retcode = subprocess.call(self.command, shell=True, cwd=repo.path,
env=env)
if retcode != 0:
- raise CommandExecError(self.command, retcode)
+ raise CommandExecError([self.command], retcode)
__KAS_PLUGINS__ = [ForAllRepos]
--
2.51.0