diff options
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/Core.py | 4 |
1 files changed, 3 insertions, 1 deletions
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: |