diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2005-09-08 20:59:13 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2005-09-08 20:59:13 +0000 |
commit | 658967ab95bce4584356bc4a79e6ae7118cd6952 (patch) | |
tree | 5d56d802db3cb2544cb5a6789ff753636b845ed4 /src/lib/Server | |
parent | 515e50336ff4c999c4c966f53749e1e65ab330c9 (diff) | |
download | bcfg2-658967ab95bce4584356bc4a79e6ae7118cd6952.tar.gz bcfg2-658967ab95bce4584356bc4a79e6ae7118cd6952.tar.bz2 bcfg2-658967ab95bce4584356bc4a79e6ae7118cd6952.zip |
fix typo
2005/09/07 14:25:05-05:00 anl.gov!desai
switch to plugin API
(Logical change 1.302)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1238 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/Plugins/Base.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/Server/Plugins/Base.py b/src/lib/Server/Plugins/Base.py index 1912c9a7c..c1ebbe0d2 100644 --- a/src/lib/Server/Plugins/Base.py +++ b/src/lib/Server/Plugins/Base.py @@ -3,8 +3,7 @@ __revision__ = '$Revision$' from copy import deepcopy from syslog import syslog, LOG_ERR -from Bcfg2.Server.Generator import SingleXMLFileBacked -from Bcfg2.Server.Plugin import Plugin +from Bcfg2.Server.Plugin import Plugin, SingleXMLFileBacked from elementtree.ElementTree import Element, XML from xml.parsers.expat import ExpatError @@ -57,4 +56,4 @@ class Base(Plugin): def __init__(self, core, datastore): Plugin.__init__(self, core, datastore) self.base = BaseFile("%s/etc/base.xml"%(datastore), self.core.fam) - self.BuildStructure = self.base.BuildStructure + self.BuildStructures = self.base.BuildStructures |