Skip to content

Commit

Permalink
dulwich typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby authored and neersighted committed Jun 15, 2022
1 parent 3f54fdc commit a273a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/vcs/git/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def get_remote_url(repo: Repo, remote: str = "origin") -> str:
url = ""
if config.has_section(section):
value = config.get(section, b"url")
assert value is not None
assert isinstance(value, bytes)
url = value.decode("utf-8")

return url
Expand Down

0 comments on commit a273a28

Please sign in to comment.