summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-04-08 19:41:43 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-04-08 19:41:43 +0000
commitacba145eed613b97a1bddd31d6442b91d856ea59 (patch)
tree335cc1e777b72f81806cca1a46c251b9892caca6
parentc5dfeaa6f52224b0b33c3a96d74843a690ae538c (diff)
downloadbcfg2-acba145eed613b97a1bddd31d6442b91d856ea59.tar.gz
bcfg2-acba145eed613b97a1bddd31d6442b91d856ea59.tar.bz2
bcfg2-acba145eed613b97a1bddd31d6442b91d856ea59.zip
More spelling fixes
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5157 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Plugin.py2
-rw-r--r--src/lib/Server/Plugins/Base.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index f88f10de5..353215d12 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -286,7 +286,7 @@ class StructFile(XMLFileBacked):
work[newpred] = group.getchildren()
def Match(self, metadata):
- '''Return matching fragments of independant'''
+ '''Return matching fragments of independent'''
matching = [frag for (pred, frag) in self.fragments.iteritems() if pred(metadata)]
if matching:
return reduce(lambda x, y:x+y, matching)
diff --git a/src/lib/Server/Plugins/Base.py b/src/lib/Server/Plugins/Base.py
index 223e4de43..b96c9b3d1 100644
--- a/src/lib/Server/Plugins/Base.py
+++ b/src/lib/Server/Plugins/Base.py
@@ -29,7 +29,7 @@ class Base(Bcfg2.Server.Plugin.Plugin,
def BuildStructures(self, metadata):
'''Build structures for client described by metadata'''
- ret = lxml.etree.Element("Independant", version='2.0')
+ ret = lxml.etree.Element("Independent", version='2.0')
fragments = reduce(lambda x, y: x+y,
[base.Match(metadata) for base
in self.entries.values()], [])