diff options
author | Brian Pellin <bpellin@mcs.anl.gov> | 2005-01-10 17:17:28 +0000 |
---|---|---|
committer | Brian Pellin <bpellin@mcs.anl.gov> | 2005-01-10 17:17:28 +0000 |
commit | 67781ef77b11a8352580cb921c70d6b4c9b628de (patch) | |
tree | a84ca4e55378efb95d9f36f86b160bd486800d61 /src/lib/Server/Metadata.py | |
parent | 6dca278ee726753a3007021e02da06a2b0440c07 (diff) | |
download | bcfg2-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/lib/Server/Metadata.py')
-rw-r--r-- | src/lib/Server/Metadata.py | 2 |
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''' |