From 39f0c71d5ab8b0c70dc0b664b110841c338f7a66 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Fri, 20 Jul 2007 15:44:29 +0000 Subject: Fix altsrc git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3521 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Core.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py index a1061cf08..c24bc6948 100644 --- a/src/lib/Server/Core.py +++ b/src/lib/Server/Core.py @@ -275,8 +275,10 @@ class Core(object): '''Bind an entry using the appropriate generator''' if 'altsrc' in entry.attrib: oldname = entry.get('name') + entry.set('name', entry.get('altsrc')) + del entry.attrib['altsrc'] try: - ret = self.Bind(self, entry, metadata) + ret = self.Bind(entry, metadata) entry.set('name', oldname) return ret except: -- cgit v1.2.3-1-g7c22