summaryrefslogtreecommitdiff
path: root/logilab/common/ureports/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'logilab/common/ureports/__init__.py')
-rw-r--r--logilab/common/ureports/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/logilab/common/ureports/__init__.py b/logilab/common/ureports/__init__.py
index bb95223..e19e739 100644
--- a/logilab/common/ureports/__init__.py
+++ b/logilab/common/ureports/__init__.py
@@ -45,8 +45,7 @@ def get_nodes(node, klass):
def layout_title(layout):
- """try to return the layout's title as string, return None if not found
- """
+ """try to return the layout's title as string, return None if not found"""
for child in layout.children:
if isinstance(child, Title):
return " ".join([node.data for node in get_nodes(child, Text)])