Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-05-17 21:53:53 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-05-17 21:55:48 -0400
commit9cae2374a835b798ac209d48a22bfa70445f2f89 (patch)
treee8472664e992a005c2d4d61a7a8a923ef7420132 /archinstall/lib
parentd0bc166e7e9f381be15791ebd1d0150ba17a66c0 (diff)
Add missing urllib.error import
Fixes an unresolved reference Add missing urllib.error import
Diffstat (limited to 'archinstall/lib')
-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