From 18f2776d46244ba807c4e86d77a402f9d41830e2 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Mon, 29 Jun 2009 19:52:54 +0000 Subject: 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 --- src/lib/Server/Plugins/Packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-1-g7c22