From 0c0a2552840fe73e4df934509ae2f7ed7c81ce61 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Tue, 8 Feb 2022 23:48:57 -0800 Subject: [PATCH] gitcfg: use (str, object) signals for {repo,user}_config_changed The values can also be ints and bools. Use `object` to catch 'em all. Related-to: #1206 Signed-off-by: David Aguilar --- cola/gitcfg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cola/gitcfg.py b/cola/gitcfg.py index 1fb53c2b..5ba46f97 100644 --- a/cola/gitcfg.py +++ b/cola/gitcfg.py @@ -109,8 +109,8 @@ def _config_key_value(line, splitchar): class GitConfig(QtCore.QObject): """Encapsulate access to git-config values.""" - user_config_changed = Signal(str, str) - repo_config_changed = Signal(str, str) + user_config_changed = Signal(str, object) + repo_config_changed = Signal(str, object) updated = Signal() def __init__(self, context): -- 2.11.4.GIT