summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-09-28 22:07:53 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-09-28 22:07:53 +0000
commit3ef49c0a67e99c24ef804b8e4e696f3705edc86e (patch)
treee492053ac695c2532161e67d56b104c6e97de903 /src/lib
parent291261044c352f3682d365f0eee5a6cc5e7eb745 (diff)
downloadbcfg2-3ef49c0a67e99c24ef804b8e4e696f3705edc86e.tar.gz
bcfg2-3ef49c0a67e99c24ef804b8e4e696f3705edc86e.tar.bz2
bcfg2-3ef49c0a67e99c24ef804b8e4e696f3705edc86e.zip
Fix configuration builds when no base fragments are specified (Resolves Ticket #148)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2341 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Plugins/Base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Base.py b/src/lib/Server/Plugins/Base.py
index 5c32eb15a..11e066f63 100644
--- a/src/lib/Server/Plugins/Base.py
+++ b/src/lib/Server/Plugins/Base.py
@@ -26,6 +26,6 @@ class Base(Bcfg2.Server.Plugin.Plugin, Bcfg2.Server.Plugin.DirectoryBacked):
'''Build structures for client described by metadata'''
ret = lxml.etree.Element("Independant", version='2.0')
fragments = reduce(lambda x, y: x+y,
- [base.Match(metadata) for base in self.entries.values()])
+ [base.Match(metadata) for base in self.entries.values()], [])
[ret.append(copy.deepcopy(frag)) for frag in fragments]
return [ret]