From bb83067f5d021b80d208dd1b93eda8d02578eeb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Mon, 6 Jun 2022 01:01:42 +0100 Subject: [PATCH] Fix typing. --- dulwich/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dulwich/client.py b/dulwich/client.py index bb62f2ee3..168e28f0d 100644 --- a/dulwich/client.py +++ b/dulwich/client.py @@ -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):