Skip to content

Commit

Permalink
Fix typing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Jun 6, 2022
1 parent 8c92769 commit bb83067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dulwich/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2264,8 +2264,8 @@ def _win32_url_to_path(parsed) -> str:

global url2pathname
if url2pathname is None:
from urllib.request import url2pathname
return url2pathname(netloc + path)
from urllib.request import url2pathname # type: ignore
return url2pathname(netloc + path) # type: ignore


def get_transport_and_path_from_url(url, config=None, **kwargs):
Expand Down

0 comments on commit bb83067

Please sign in to comment.