summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-07-19 17:00:30 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-07-19 17:00:30 +0000
commit8b6165750d99fef457b5c55364cdd9398230b09f (patch)
tree1804b4540028bb1b73311ae58f4f59482f8832b1 /src/lib/Client
parentd3ffa20a399233283fba2d02147a761fdee0212d (diff)
downloadbcfg2-8b6165750d99fef457b5c55364cdd9398230b09f.tar.gz
bcfg2-8b6165750d99fef457b5c55364cdd9398230b09f.tar.bz2
bcfg2-8b6165750d99fef457b5c55364cdd9398230b09f.zip
Fix multiarch package verification
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1971 ce84e21b-d406-0410-9b95-82705330c041
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: