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
This commit is contained in:
Newbyte 2024-02-14 18:06:14 +01:00
parent 3aad061c68
commit bcfab8cfc3
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD

View file

@ -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