summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-06-11 23:44:28 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-06-11 23:44:28 +0000
commit1866e1292003539109475d8557ae10a8ef493155 (patch)
treeb9028880072b724689f0450b428c7031704a6525
parent5cb1c27d9a4082572cd80c9600f3d6fbae122ad0 (diff)
downloadbcfg2-1866e1292003539109475d8557ae10a8ef493155.tar.gz
bcfg2-1866e1292003539109475d8557ae10a8ef493155.tar.bz2
bcfg2-1866e1292003539109475d8557ae10a8ef493155.zip
Fix Yum URL sources
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5273 ce84e21b-d406-0410-9b95-82705330c041
-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 2e25eaf90..6b7d12d33 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -125,7 +125,7 @@ class YUMSource(Source):
def __init__(self, basepath, url, version, arches, components, groups, rawurl):
if not rawurl:
- urlbase = url + '%%(version)s/%(component)s/%(arch)s/repodata/' % url
+ urlbase = url + '%%(version)s/%(component)s/%(arch)s/repodata/'
else:
urlbase = rawurl
usettings = [{'version': version, 'component':part, 'arch':arch}