From: Marcin Krol Date: Sun, 2 May 2021 16:55:29 +0000 (+0200) Subject: - fix urllib imports X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=57588b3651663a4ba4beff3ec1cd9c5a6de290d5;p=tld-builder.git - fix urllib imports --- diff --git a/TLD_Builder/file_sender.py b/TLD_Builder/file_sender.py index b28980e..f5ef280 100644 --- a/TLD_Builder/file_sender.py +++ b/TLD_Builder/file_sender.py @@ -8,7 +8,7 @@ import time import shutil import sys import traceback -import urllib +import urllib.request from config import config, init_conf import mailer import path diff --git a/TLD_Builder/request.py b/TLD_Builder/request.py index 25ca994..1d72f2e 100644 --- a/TLD_Builder/request.py +++ b/TLD_Builder/request.py @@ -7,7 +7,7 @@ import time import xml.sax.saxutils import fnmatch import os -import urllib +import urllib.parse import html import pytz import tempfile diff --git a/TLD_Builder/request_fetcher.py b/TLD_Builder/request_fetcher.py index ae237a2..83229ae 100644 --- a/TLD_Builder/request_fetcher.py +++ b/TLD_Builder/request_fetcher.py @@ -3,7 +3,7 @@ import string import signal import os -import urllib +import urllib.request import sys from io import StringIO, BytesIO import gzip diff --git a/TLD_Builder/rpm_builder.py b/TLD_Builder/rpm_builder.py index b7ca2cd..562d3e4 100644 --- a/TLD_Builder/rpm_builder.py +++ b/TLD_Builder/rpm_builder.py @@ -8,7 +8,9 @@ import atexit import time import datetime import string -import urllib +import urllib.request +import urllib.parse +import urllib.error from config import config, init_conf from bqueue import B_Queue