[libgda] Meson: fix raw spects generation with LDAP provider



commit 951d210bbe48ec43a3add08096e8bbca1b963327
Author: Daniel Espinosa <esodan gmail com>
Date:   Mon Jul 16 09:26:59 2018 -0500

    Meson: fix raw spects generation with LDAP provider

 providers/raw_spec.py | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/providers/raw_spec.py b/providers/raw_spec.py
index 59a0c7976..ddd01de40 100755
--- a/providers/raw_spec.py
+++ b/providers/raw_spec.py
@@ -25,6 +25,8 @@ root = spec.getroot()
 for c in root.iter():
     rename_attr(c, '_name', 'name')
     rename_attr(c, '_descr', 'descr')
+    if c.tag.startswith('_'):
+        c.tag = c.tag[1:]
 
 n=os.path.basename(dargs['source'])
 nfile=n.replace('.xml.in', '.raw.xml')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]