Fix typo in profile_recommender
Execute method from Commands class takes array of strings as arguments to execute not a name of executable. This caused bad format of logged error message in case of failure of execute method. Signed-off-by: Tomas Korbar <tkorbar@redhat.com>
This commit is contained in:
parent
08b932c8b0
commit
cccbf6f11e
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ class ProfileRecommender:
|
|||
value = r"^$"
|
||||
if option == "virt":
|
||||
if not re.match(value,
|
||||
self._commands.execute("virt-what")[1], re.S):
|
||||
self._commands.execute(["virt-what"])[1], re.S):
|
||||
match = False
|
||||
elif option == "system":
|
||||
if not re.match(value,
|
||||
|
|
|
|||
Loading…
Reference in a new issue