Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-18 07:25:21 +0000
committerGitHub <noreply@github.com>2021-05-18 07:25:21 +0000
commitf56bfd5ab8a80a218e931b2124ccd9974517bf04 (patch)
tree5493d095718227a5485c325651d9b8a5390e655c
parent5b3e1076ae0a699142c73e1c0e9c1df6c867163a (diff)
parent9cae2374a835b798ac209d48a22bfa70445f2f89 (diff)
Merge pull request #468 from dylanmtaylor/patch-3
Add missing urllib.error import
-rw-r--r--archinstall/lib/mirrors.py1
-rw-r--r--archinstall/lib/packages.py1
-rw-r--r--archinstall/lib/profiles.py1
3 files changed, 3 insertions, 0 deletions
diff --git a/archinstall/lib/mirrors.py b/archinstall/lib/mirrors.py
index 3215122f..5050df7d 100644
--- a/archinstall/lib/mirrors.py
+++ b/archinstall/lib/mirrors.py
@@ -1,3 +1,4 @@
+import urllib.error
import urllib.request
from .general import *
diff --git a/archinstall/lib/packages.py b/archinstall/lib/packages.py
index e16ed99e..0ea195d2 100644
--- a/archinstall/lib/packages.py
+++ b/archinstall/lib/packages.py
@@ -1,5 +1,6 @@
import json
import ssl
+import urllib.error
import urllib.parse
import urllib.request
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 871e6223..d4913e7e 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -4,6 +4,7 @@ import json
import re
import ssl
import sys
+import urllib.error
import urllib.parse
import urllib.request
from typing import Optional