summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Client')
-rw-r--r--src/lib/Client/Redhat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Redhat.py b/src/lib/Client/Redhat.py
index c38778454..1d46cf38b 100644
--- a/src/lib/Client/Redhat.py
+++ b/src/lib/Client/Redhat.py
@@ -101,7 +101,7 @@ class ToolsetImpl(Toolset):
archs = entry.get('multiarch').split()
info = self.saferun('rpm -q %s --qf "%%{NAME} %%{VERSION}-%%{RELEASE} %%{ARCH}\n"' % (entry.get('name')))[1]
while info:
- (_, vers, arch) = info.pop()
+ (_, vers, arch) = info.pop().split()
if arch in archs:
archs.remove(arch)
else: