__init__.py
changeset 2458 4d114865098f
parent 2059 af33833d7571
parent 2395 e3093fc12a00
child 2476 1294a6bdf3bf
--- a/__init__.py	Thu Jul 23 15:29:07 2009 +0200
+++ b/__init__.py	Thu Jul 23 15:33:03 2009 +0200
@@ -300,3 +300,6 @@
     except AttributeError:
         return neg_role(obj.role)
 
+def underline_title(title, car='-'):
+    return title+'\n'+(car*len(title))
+