summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-09-09 15:46:06 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-09-09 15:46:06 +0000
commit4c1fefb5b1b63554a40cd0f3714a7f8463d51e68 (patch)
tree13a35842163c3625d192610c42061657d27e0d8f
parent20817cb4d1a02769f64453356e04a73f2d8b5be5 (diff)
downloadbcfg2-4c1fefb5b1b63554a40cd0f3714a7f8463d51e68.tar.gz
bcfg2-4c1fefb5b1b63554a40cd0f3714a7f8463d51e68.tar.bz2
bcfg2-4c1fefb5b1b63554a40cd0f3714a7f8463d51e68.zip
Compat: old clients will not accept entries containing a type attribute
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5420 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Plugins/Compat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Compat.py b/src/lib/Server/Plugins/Compat.py
index f381fe982..bf0ea6bc7 100644
--- a/src/lib/Server/Plugins/Compat.py
+++ b/src/lib/Server/Plugins/Compat.py
@@ -30,6 +30,7 @@ class Compat(Bcfg2.Server.Plugin.Plugin,
if entry.tag == 'Path':
oldentry = entry
entry.tag = entry.get('type')
+ del entry.attrib['type']
# FIXME: use another attribute? old clients only
# know about type=None
#entry.set('type', 'Compat')