summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Pellin <bpellin@mcs.anl.gov>2005-01-10 17:17:28 +0000
committerBrian Pellin <bpellin@mcs.anl.gov>2005-01-10 17:17:28 +0000
commit67781ef77b11a8352580cb921c70d6b4c9b628de (patch)
treea84ca4e55378efb95d9f36f86b160bd486800d61 /src
parent6dca278ee726753a3007021e02da06a2b0440c07 (diff)
downloadbcfg2-67781ef77b11a8352580cb921c70d6b4c9b628de.tar.gz
bcfg2-67781ef77b11a8352580cb921c70d6b4c9b628de.tar.bz2
bcfg2-67781ef77b11a8352580cb921c70d6b4c9b628de.zip
Fixed constructor to not clobber data.
(Logical change 1.183) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@781 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Metadata.py b/src/lib/Server/Metadata.py
index 2c00db22e..0d6a6c082 100644
--- a/src/lib/Server/Metadata.py
+++ b/src/lib/Server/Metadata.py
@@ -39,7 +39,6 @@ class MetadataStore(SingleXMLFileBacked):
'''The MetadataStore is a filebacked xml repository that contains all setup info for all clients'''
def __init__(self, filename, fam):
- SingleXMLFileBacked.__init__(self, filename, fam)
# initialize Index data to avoid race
self.defaults = {}
self.clients = {}
@@ -47,6 +46,7 @@ class MetadataStore(SingleXMLFileBacked):
self.classes = {}
self.images = {}
self.element = Element("dummy")
+ SingleXMLFileBacked.__init__(self, filename, fam)
def Index(self):
'''Build data structures for XML data'''