From 08141c35e9b6f2e6983de013c6a492c175ed9f19 Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Thu, 17 Feb 2022 19:37:50 +0100 Subject: [PATCH] chroot.cmd_inspect(): fix Chroot.init() -> Chroot.initialize() --- chroot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chroot.py b/chroot.py index 3c91945..8a461ad 100644 --- a/chroot.py +++ b/chroot.py @@ -572,12 +572,12 @@ def cmd_chroot(type: str = 'build', arch: str = None, enable_crossdirect=True): if type == 'base': chroot = get_base_chroot(arch) if not os.path.exists(os.path.join(chroot.path, 'bin')): - chroot.init() + chroot.initialize() chroot.initialized = True elif type == 'build': chroot = get_build_chroot(arch, activate=True) if not os.path.exists(os.path.join(chroot.path, 'bin')): - chroot.init() + chroot.initialize() chroot.initialized = True chroot.mount_pkgbuilds() if config.file['build']['crossdirect'] and enable_crossdirect: