From 4c1fefb5b1b63554a40cd0f3714a7f8463d51e68 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Wed, 9 Sep 2009 15:46:06 +0000 Subject: Compat: old clients will not accept entries containing a type attribute Signed-off-by: Sol Jerome git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5420 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugins/Compat.py | 1 + 1 file changed, 1 insertion(+) 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') -- cgit v1.2.3-1-g7c22