summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-06-29 19:52:54 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-06-29 19:52:54 +0000
commit18f2776d46244ba807c4e86d77a402f9d41830e2 (patch)
treef17e03b07f18461b2ee9c59543a88ce114b0175b /src
parent8d246f5d3b63d374fed871d4520028cf3662c4d3 (diff)
downloadbcfg2-18f2776d46244ba807c4e86d77a402f9d41830e2.tar.gz
bcfg2-18f2776d46244ba807c4e86d77a402f9d41830e2.tar.bz2
bcfg2-18f2776d46244ba807c4e86d77a402f9d41830e2.zip
Packages: Fix file architecture tagging for YumSources (patch from slack)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5303 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugins/Packages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index 2a26f8ffd..c036b5854 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -199,7 +199,7 @@ class YUMSource(Source):
floc = elt.find(self.rpo + 'location')
fullurl = surl + floc.get('href')
urls.append(fullurl)
- self.file_to_arch[self.escape_url(fullurl)] = arch
+ self.file_to_arch[self.escape_url(fullurl)] = sarch
return urls
urls = property(get_urls)