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 | 8ae805d0ef12ed9fb4ab1b19cdb442c35adf96e6 (patch) | |
tree | 4518221f141df46dc9bc3acaf9021f90a52656ac /src | |
parent | 1e54f5cf6b8167187d9eaa1214f3144f31c74451 (diff) | |
download | bcfg2-8ae805d0ef12ed9fb4ab1b19cdb442c35adf96e6.tar.gz bcfg2-8ae805d0ef12ed9fb4ab1b19cdb442c35adf96e6.tar.bz2 bcfg2-8ae805d0ef12ed9fb4ab1b19cdb442c35adf96e6.zip |
Fixed constructors to not clobber initial data.
(Logical change 1.183)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@784 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Server/Structures/Bundler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Structures/Bundler.py b/src/lib/Server/Structures/Bundler.py index 676acec48..acd2790ab 100644 --- a/src/lib/Server/Structures/Bundler.py +++ b/src/lib/Server/Structures/Bundler.py @@ -13,8 +13,8 @@ from xml.parsers.expat import ExpatError class ImageFile(SingleXMLFileBacked): '''This file contains image -> system mappings''' def __init__(self, filename, fam): - SingleXMLFileBacked.__init__(self, filename, fam) self.images = {} + SingleXMLFileBacked.__init__(self, filename, fam) def Index(self): '''Build data structures out of the data''' @@ -35,10 +35,10 @@ class Bundle(XMLFileBacked): '''Bundles are configuration specifications (with image/translation abstraction)''' def __init__(self, filename): - XMLFileBacked.__init__(self, filename) self.all = [] self.attributes = {} self.systems = {} + XMLFileBacked.__init__(self, filename) def Index(self): '''Build data structures from the source data''' |