diff options
-rw-r--r-- | tools/specparser.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/specparser.py b/tools/specparser.py index 264c2330..ec30aa92 100644 --- a/tools/specparser.py +++ b/tools/specparser.py @@ -276,8 +276,9 @@ WARNING: Key '%s' not known in namespace '%s' namespace = n.getAttribute('namespace') key = getText(n) - if namespace.startswith('ofdT.'): - namespace = 'org.freedesktop.Telepathy.' + namespace[5:] + if namespace.startswith('ofdT.') or namespace == 'ofdT': + namespace = namespace.replace('ofdT', + 'org.freedesktop.Telepathy') try: o = spec.lookup(key, namespace=namespace) |