summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Admin
diff options
context:
space:
mode:
authorRobert Gogolok <gogo@cs.uni-sb.de>2008-05-23 20:57:28 +0000
committerRobert Gogolok <gogo@cs.uni-sb.de>2008-05-23 20:57:28 +0000
commitd8a354001fe00188635ad74430af602a3f5c270c (patch)
tree890b8d6a85ef31f002f1ca031d6a8cf5b1a99948 /src/lib/Server/Admin
parentcd04606f10242676ce67d8628d14e27bd43a9976 (diff)
downloadbcfg2-d8a354001fe00188635ad74430af602a3f5c270c.tar.gz
bcfg2-d8a354001fe00188635ad74430af602a3f5c270c.tar.bz2
bcfg2-d8a354001fe00188635ad74430af602a3f5c270c.zip
fix typos, #560
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4631 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Admin')
-rw-r--r--src/lib/Server/Admin/Compare.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Server/Admin/Compare.py b/src/lib/Server/Admin/Compare.py
index 8d4dda352..124c0c647 100644
--- a/src/lib/Server/Admin/Compare.py
+++ b/src/lib/Server/Admin/Compare.py
@@ -41,7 +41,7 @@ class Compare(Bcfg2.Server.Admin.Mode):
(child.tag, child.get('name'), noattrmatch)
if len(old.getchildren()) == 0 and len(new.getchildren()) == 0:
return True
- if new.tag == 'Independant':
+ if new.tag == 'Independent':
name = 'Base'
else:
name = new.get('name')
@@ -95,8 +95,8 @@ class Compare(Bcfg2.Server.Admin.Mode):
else:
print "Unmatched bundle %s" % (bundle.get('name'))
rcs.append(False)
- i1 = new.find('./Independant')
- i2 = old.find('./Independant')
+ i1 = new.find('./Independent')
+ i2 = old.find('./Independent')
if self.compareStructures(i1, i2):
new.remove(i1)
old.remove(i2)