From 93c81a077b0487ba8e62adbe67da617a9f96234f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Mon, 2 Sep 2019 17:23:09 -0400 Subject: [PATCH] [mhwdcfg] fix call cmd --- src/modules/mhwdcfg/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/mhwdcfg/main.py b/src/modules/mhwdcfg/main.py index da385ceee..8944c9945 100644 --- a/src/modules/mhwdcfg/main.py +++ b/src/modules/mhwdcfg/main.py @@ -4,7 +4,7 @@ # === This file is part of Calamares - === # # Copyright 2016, Artoo -# Copyright 2016-2017, Philip Müller +# Copyright 2016-2019, Philip Müller # # Calamares is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -73,10 +73,10 @@ class MhwdController: call(["mount", "-B", "/" + mp, join(self.root, mp)]) def rmdir(self, dir): - subprocess.call(["rm", "-Rf", join(self.root, dir)]) + call(["rm", "-Rf", join(self.root, dir)]) def mkdir(self, dir): - subprocess.call(["mkdir", "-p", join(self.root, dir)]) + call(["mkdir", "-p", join(self.root, dir)]) def configure(self, name, id): cmd = ["mhwd", "-a", str(name), str(self.driver), str(id).zfill(4)]