aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/cmdutil.py
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2005-03-18 14:02:01 +0000
committerAaron Bentley <abentley@panoramicfeedback.com>2005-03-18 14:02:01 +0000
commit90e118fac5cfb345e10487039a375c8af5835ddf (patch)
tree8df25957b04e1a4dda7f81bbed2301c53bafb8b7 /libbe/cmdutil.py
parente0f027bc4d96afda56dcbf2ce3998a5bc9d88ff9 (diff)
downloadbugseverywhere-90e118fac5cfb345e10487039a375c8af5835ddf.tar.gz
Organized list by who the bugs are assigned to
Diffstat (limited to 'libbe/cmdutil.py')
-rw-r--r--libbe/cmdutil.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/libbe/cmdutil.py b/libbe/cmdutil.py
index 78b7571..ab0e8be 100644
--- a/libbe/cmdutil.py
+++ b/libbe/cmdutil.py
@@ -81,6 +81,15 @@ def execute(cmd, args):
def help(cmd, args):
return get_command(cmd).help()
+def underlined(instring):
+ """Produces a version of a string that is underlined with '='
+
+ >>> underlined("Underlined String")
+ 'Underlined String\\n================='
+ """
+
+ return "%s\n%s" % (instring, "="*len(instring))
+
def _test():
import doctest
import sys