From bcfab8cfc34f9b9661004afebaa436b4d1cbb0a0 Mon Sep 17 00:00:00 2001 From: Newbyte Date: Wed, 14 Feb 2024 18:06:14 +0100 Subject: [PATCH] pmb.helpers.aportupgrade: Import urllib.parse explicitly (MR 2258) Apparently importing urllib doesn't by itself import the urllib.parse module, which mypy complains about. Reference: https://stackoverflow.com/a/41502702/9315690 --- pmb/helpers/aportupgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/helpers/aportupgrade.py b/pmb/helpers/aportupgrade.py index 4f28659a..8fa70e1b 100644 --- a/pmb/helpers/aportupgrade.py +++ b/pmb/helpers/aportupgrade.py @@ -5,7 +5,7 @@ import fnmatch import logging import os import re -import urllib +import urllib.parse from typing import Optional import pmb.helpers.file