From cc4ab32350ff57174e832c67c0f9b69ae3b118ba Mon Sep 17 00:00:00 2001 From: Philip Date: Tue, 13 Sep 2016 08:08:57 +0200 Subject: [PATCH] [mhwdcfg] clean up imports; use target_env_call() --- src/modules/mhwdcfg/main.py | 6 +++--- src/modules/mhwdcfg/mhwdcfg.conf | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/modules/mhwdcfg/main.py b/src/modules/mhwdcfg/main.py index a3ae98d96..4b560ba8d 100644 --- a/src/modules/mhwdcfg/main.py +++ b/src/modules/mhwdcfg/main.py @@ -20,9 +20,9 @@ import libcalamares -from libcalamares.utils import check_target_env_call, target_env_call, debug +from libcalamares.utils import target_env_call, debug from os.path import join -from subprocess import check_call, call +from subprocess import call class MhwdController: def __init__(self): @@ -74,7 +74,7 @@ class MhwdController: cmd.extend(["--pmconfig", self.repo]) self.mount("etc/resolv.conf") - check_target_env_call(cmd) + target_env_call(cmd) if self.local: self.umount("opt") diff --git a/src/modules/mhwdcfg/mhwdcfg.conf b/src/modules/mhwdcfg/mhwdcfg.conf index 48d905d9c..18db7fbea 100644 --- a/src/modules/mhwdcfg/mhwdcfg.conf +++ b/src/modules/mhwdcfg/mhwdcfg.conf @@ -1,6 +1,7 @@ --- bus: - pci +# - usb identifier: net: