diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-03-18 14:02:01 +0000 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-03-18 14:02:01 +0000 |
commit | 90e118fac5cfb345e10487039a375c8af5835ddf (patch) | |
tree | 8df25957b04e1a4dda7f81bbed2301c53bafb8b7 /libbe | |
parent | e0f027bc4d96afda56dcbf2ce3998a5bc9d88ff9 (diff) | |
download | bugseverywhere-90e118fac5cfb345e10487039a375c8af5835ddf.tar.gz |
Organized list by who the bugs are assigned to
Diffstat (limited to 'libbe')
-rw-r--r-- | libbe/cmdutil.py | 9 |
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 |