Skip to content

Commit

Permalink
git_config: GetBoolean should return bool
Browse files Browse the repository at this point in the history
Test: tox
Change-Id: Ifc0dc089deef5a3b396d889c9ebfcf8d4f007bf2
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/390360
Tested-by: Daniel Kutik <[email protected]>
Reviewed-by: Mike Frysinger <[email protected]>
Commit-Queue: Daniel Kutik <[email protected]>
  • Loading branch information
danielkutik authored and LUCI committed Oct 20, 2023
1 parent 3d58d21 commit 49c9b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def DumpConfigDict(self):
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:
Expand Down

0 comments on commit 49c9b06

Please sign in to comment.