Skip to content
Snippets Groups Projects
Commit 657e7e32 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

go

parent 28f51a84
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ def get_docs(elem, label): ...@@ -70,7 +70,7 @@ def get_docs(elem, label):
for kid in elem.getchildren(): for kid in elem.getchildren():
if kid.tag == 'rule': if kid.tag == 'rule':
return get_docs(kid) return get_docs(kid, False)
s = kid.text.strip().split('\n') s = kid.text.strip().split('\n')
return u'\n'.join([u.strip() for u in s if len(u.strip()) > 0]) return u'\n'.join([u.strip() for u in s if len(u.strip()) > 0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment