From fb10e94c0ad96e30945fdd85505b1e65fdf90ee1 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 4 Nov 2020 23:39:55 +0000 Subject: installer.log() should not be a property. --- archinstall/lib/installer.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'archinstall') 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) -- cgit v1.2.3-70-g09d2