From 9120a2e366d5a7603aea1bb4dad5274cf6f2829b Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Mon, 19 Sep 2022 00:21:16 +0200 Subject: [PATCH] Fix python2 urlretrieve import Fix #424 --- src/tito/compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tito/compat.py b/src/tito/compat.py index 0533307..a156ea5 100644 --- a/src/tito/compat.py +++ b/src/tito/compat.py @@ -27,7 +27,7 @@ if PY2: from ConfigParser import RawConfigParser from StringIO import StringIO from urlparse import urlparse - from urlparse import urlretrieve + from urllib import urlretrieve import xmlrpclib text_type = unicode binary_type = str