Fix cache handling with osc from git master

osc master no longer wraps urlopen, so use the underlying function
This commit is contained in:
Stephan Kulow 2022-08-04 13:40:22 +02:00
parent 0414dd1616
commit 9f802cc1cd

View File

@ -10,7 +10,7 @@ from urllib.parse import urlsplit, SplitResult
from io import BytesIO
from osc import conf
from osc.core import urlopen
from urllib.request import urlopen
from osclib.cache_manager import CacheManager
from osclib.conf import str2bool
from osclib.util import rmtree_nfs_safe