Commit 81912c91 authored by Emmanuele Bassi's avatar Emmanuele Bassi 👣
Browse files

Merge branch 'correct-logic' into 'main'

try to infer namespace of girelement only if nil

See merge request !86
parents 6383968f b3461811
Pipeline #298910 passed with stages
in 2 minutes and 16 seconds
......@@ -88,7 +88,7 @@ class GIRElement:
def __init__(self, name: T.Optional[str] = None, namespace: T.Optional[str] = None): = name
self.namespace = namespace
if self.namespace is not None:
if self.namespace is None:
if is not None and '.' in
self.namespace ='.')[0] = Info()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment