From 3ed82f3eb0a38865e97f2e3567c0bf773e7f01c7 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Fri, 1 Jun 2012 08:58:34 +0200 Subject: [PATCH] Fix the rpm call --- src/pylorax/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 9f0131b0..f21618d2 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -138,7 +138,7 @@ class Lorax(BaseLoraxClass): if domacboot: try: - subprocess.check_call("rpm -q hfsplus-tools") + subprocess.check_call(["rpm", "-q", "hfsplus-tools"]) except subprocess.CalledProcessError: logger.critical("you need to install hfsplus-tools to create mac images") sys.exit(1)