From 49c9b068382a4a41352bb3429f6d6881e3ce2c21 Mon Sep 17 00:00:00 2001 From: Daniel Kutik Date: Fri, 20 Oct 2023 18:25:25 +0200 Subject: [PATCH] git_config: GetBoolean should return bool Test: tox Change-Id: Ifc0dc089deef5a3b396d889c9ebfcf8d4f007bf2 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/390360 Tested-by: Daniel Kutik Reviewed-by: Mike Frysinger Commit-Queue: Daniel Kutik --- git_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_config.py b/git_config.py index 4f053ed0..1bde4795 100644 --- a/git_config.py +++ b/git_config.py @@ -180,7 +180,7 @@ class GitConfig: config_dict[key] = self.GetString(key) return config_dict - def GetBoolean(self, name: str) -> Union[str, None]: + def GetBoolean(self, name: str) -> Union[bool, None]: """Returns a boolean from the configuration file. Returns: