diff options
author | Daniel Kutik <daniel.kutik@lavawerk.com> | 2023-10-20 18:25:25 +0200 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-10-20 16:41:58 +0000 |
commit | 49c9b068382a4a41352bb3429f6d6881e3ce2c21 (patch) | |
tree | 2e3bfac440cf3713f1377782ecb2baf8d3dff9ef | |
parent | 3d58d219cbdf046677f8e88c488e085660488f06 (diff) | |
download | git-repo-49c9b068382a4a41352bb3429f6d6881e3ce2c21.tar.gz |
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 <daniel.kutik@lavawerk.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Commit-Queue: Daniel Kutik <daniel.kutik@lavawerk.com>
-rw-r--r-- | git_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
180 | config_dict[key] = self.GetString(key) | 180 | config_dict[key] = self.GetString(key) |
181 | return config_dict | 181 | return config_dict |
182 | 182 | ||
183 | def GetBoolean(self, name: str) -> Union[str, None]: | 183 | def GetBoolean(self, name: str) -> Union[bool, None]: |
184 | """Returns a boolean from the configuration file. | 184 | """Returns a boolean from the configuration file. |
185 | 185 | ||
186 | Returns: | 186 | Returns: |