From 073a16f8034508eaaf13799a8a9c7b9ede1eb4a3 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Sat, 15 Oct 2022 14:09:47 -0700 Subject: [PATCH] cmds: appease the pyright checker Though it's not needed in practice, initialize these values to make the code simpler for static analysis tools to understand. Signed-off-by: David Aguilar --- cola/cmds.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cola/cmds.py b/cola/cmds.py index a45446c4..1cbe821e 100644 --- a/cola/cmds.py +++ b/cola/cmds.py @@ -2423,6 +2423,9 @@ class Stage(ContextCommand): add = [] remove = [] + status = 0 + out = '' + err = '' for path in set(paths): if core.exists(path) or core.islink(path): -- 2.11.4.GIT