index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Владислав <awayfromgalaxy@gmail.com> | 2021-04-27 19:01:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 19:01:38 +0300 |
commit | bbe38025fb862c804a8fe924d7cc32e214e665b5 (patch) | |
tree | 38dbe99bc588a4e8f91d3c41f86cf045933c7475 /archinstall/lib/profiles.py | |
parent | 492c44c916312460b831e9c5d9308a48fffdeb7d (diff) | |
parent | 090b98b8307fd924882e78b69df9227b4621ec6b (diff) |
-rw-r--r-- | archinstall/lib/profiles.py | 6 |
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index 265ca26a..4988e7ab 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -1,10 +1,10 @@ import os, urllib.request, urllib.parse, ssl, json, re -import importlib.util, sys, glob, hashlib +import importlib.util, sys, glob, hashlib, logging from collections import OrderedDict from .general import multisplit, sys_command from .exceptions import * from .networking import * -from .output import log, LOG_LEVELS +from .output import log from .storage import storage def grab_url_data(path): @@ -82,7 +82,7 @@ class Script(): self.examples = None self.namespace = os.path.splitext(os.path.basename(self.path))[0] self.original_namespace = self.namespace - log(f"Script {self} has been loaded with namespace '{self.namespace}'", level=LOG_LEVELS.Debug) + log(f"Script {self} has been loaded with namespace '{self.namespace}'", level=logging.DEBUG) def __enter__(self, *args, **kwargs): self.execute() |