mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
fix linter
This commit is contained in:
parent
b76f4eef50
commit
896dd7f824
2 changed files with 3 additions and 0 deletions
|
@ -342,6 +342,8 @@ class GirNode:
|
|||
el = self.xml.get_elements("doc")
|
||||
if len(el) == 1:
|
||||
return el[0].cdata.strip().partition("\n")[0]
|
||||
else:
|
||||
return None
|
||||
except:
|
||||
return None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue