From 57588b3651663a4ba4beff3ec1cd9c5a6de290d5 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sun, 2 May 2021 18:55:29 +0200 Subject: [PATCH] - fix urllib imports --- TLD_Builder/file_sender.py | 2 +- TLD_Builder/request.py | 2 +- TLD_Builder/request_fetcher.py | 2 +- TLD_Builder/rpm_builder.py | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) 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 -- 2.46.0