summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-10-18 04:55:48 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-10-18 04:55:48 +0000
commitdfcfd8101836e1a4203f1cbe82e797971812ff0a (patch)
treed3c2fc5bab2df17a19f33e92622875adceb0ac34
parent33e7dd47f7975eaa0433a53efc75d27e40820d46 (diff)
downloadbcfg2-dfcfd8101836e1a4203f1cbe82e797971812ff0a.tar.gz
bcfg2-dfcfd8101836e1a4203f1cbe82e797971812ff0a.tar.bz2
bcfg2-dfcfd8101836e1a4203f1cbe82e797971812ff0a.zip
fix double entry bug Cory reported.
(Logical change 1.337) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1387 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Plugins/Base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Base.py b/src/lib/Server/Plugins/Base.py
index 2d47346e9..905287144 100644
--- a/src/lib/Server/Plugins/Base.py
+++ b/src/lib/Server/Plugins/Base.py
@@ -30,6 +30,7 @@ class Base(Plugin, SingleXMLFileBacked):
except ExpatError:
self.LogError("Failed to parse base.xml")
return
+ self.store = {'all':[], 'Class':{'all':[]}, 'Image':{'all':[]}, 'all':[]}
for entry in xdata.getchildren():
if entry.tag in ['Image', 'Class']:
if not self.store[entry.tag].has_key(entry.get('name')):