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-11-04 23:39:55 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-11-04 23:39:55 +0000
commitfb10e94c0ad96e30945fdd85505b1e65fdf90ee1 (patch)
tree20f6dd259b2bbee41a76e4bfc01d40fb109975c8 /archinstall/lib
parentbaf2ef1128c645c75a6ced3c3c91ce1c2147642d (diff)
installer.log() should not be a property.
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/installer.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 01ff1e96..b3276341 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -52,8 +52,7 @@ class Installer():
self.partition = partition
self.boot_partition = boot_partition
- @property
- def log(self, message, *args, level=LOG_LEVELS.Debug, file=None, **kwargs):
+ def log(self, *args, level=LOG_LEVELS.Debug, file=None, **kwargs):
if not file:
if 'logfile' not in storage:
log_root = os.path.join(os.path.expanduser('~/'), '.cache/archinstall')
@@ -64,7 +63,7 @@ class Installer():
file = storage['logfile']
- log(message, *args, level=level, file=file, **kwargs)
+ log(*args, level=level, file=file, **kwargs)
def __enter__(self, *args, **kwargs):
self.partition.mount(self.mountpoint)