From 25c5f3c7e4795ba15fff89a9168cd78ace810b48 Mon Sep 17 00:00:00 2001 From: Samuel Banya Date: Tue, 18 Dec 2018 22:45:05 -0600 Subject: [PATCH] Samuel Banya: Adding one line fix to Automirror's import socket Summary: Adding one line fix to only import socket Test Plan: Will test in isolated instance of main.py to ensure function Reviewers: wxl, tsimonq2 Reviewed By: tsimonq2 Differential Revision: https://phab.lubuntu.me/D47 --- common/modules/automirror/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/modules/automirror/main.py b/common/modules/automirror/main.py index 4762e44..c66a224 100644 --- a/common/modules/automirror/main.py +++ b/common/modules/automirror/main.py @@ -22,7 +22,7 @@ from time import strftime import urllib.request from urllib.error import HTTPError from urllib.error import URLError -from socket import timeout +import socket from lsb_release import get_distro_information global sources