From 6131ed212a6c1d193eed9768116f26d00722e633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20G=C3=A2teau?= Date: Mon, 4 Aug 2014 17:32:52 +0200 Subject: [PATCH] Import check_chroot_call separately --- src/modules/grub/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/grub/main.py b/src/modules/grub/main.py index c073ebd5c..cd39a6cab 100644 --- a/src/modules/grub/main.py +++ b/src/modules/grub/main.py @@ -18,13 +18,13 @@ # along with Calamares. If not, see . import libcalamares +from libcalamares.utils import check_chroot_call def install_grub(boot_loader): install_path = boot_loader["installPath"] - libcalamares.utils.check_chroot_call(["grub-install", install_path]) - libcalamares.utils.check_chroot_call( - ["grub-mkconfig", "-o", "/boot/grub/grub.cfg"]) + check_chroot_call(["grub-install", install_path]) + check_chroot_call(["grub-mkconfig", "-o", "/boot/grub/grub.cfg"]) def run():