Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-07-07 23:56:17 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-07 23:56:17 +0000
commit60f581319f99afbd678b4f5f56193d588228cbe2 (patch)
tree54bad414cc43893b4316f3c0d9af191ea7ecdea2 /archinstall/lib
parente17fac498a778d5f6c83a40d2334a2af7a0e5397 (diff)
Added pythons -m module support. __main__.py is the main module entry path, and setup.py now includes the examples (which as been renamed for more convenient module importing) which - enables __main__.py to locate the examples and import them via importlib and execute them.
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/general.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index 31f81413..b0de39a7 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -2,6 +2,7 @@ import os, json, hashlib, shlex, sys
import time, pty
from subprocess import Popen, STDOUT, PIPE, check_output
from select import epoll, EPOLLIN, EPOLLHUP
+from .exceptions import *
def log(*args, **kwargs):
string = ' '.join([str(x) for x in args])