Commit a273a28a by David Hotham Committed by Bjorn Neergaard

dulwich typing fix

parent 3f54fdc9
...@@ -160,7 +160,7 @@ class Git: ...@@ -160,7 +160,7 @@ class Git:
url = "" url = ""
if config.has_section(section): if config.has_section(section):
value = config.get(section, b"url") value = config.get(section, b"url")
assert value is not None assert isinstance(value, bytes)
url = value.decode("utf-8") url = value.decode("utf-8")
return url return url
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment