aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/util
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-02-20 13:28:34 -0500
committerW. Trevor King <wking@drexel.edu>2010-02-20 13:28:34 -0500
commit9e0399cd22521478a24cb08fc384ee946f14ef59 (patch)
treee0b8dee13adbf9007eda650a7b9dec3ee5c2967f /libbe/util
parentb356b3a7628b687a3de9f714102c4fd2a170348b (diff)
downloadbugseverywhere-9e0399cd22521478a24cb08fc384ee946f14ef59.tar.gz
Fix len(char) assertion typo in libbe.util.utility.underlined()
Diffstat (limited to 'libbe/util')
-rw-r--r--libbe/util/utility.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/util/utility.py b/libbe/util/utility.py
index 92ca0d5..c12e9a2 100644
--- a/libbe/util/utility.py
+++ b/libbe/util/utility.py
@@ -241,7 +241,7 @@ def underlined(string, char='='):
>>> underlined("Underlined String")
'Underlined String\\n================='
"""
- assert len(char) == 0, char
+ assert len(char) == 1, char
return '%s\n%s' % (string, char*len(string))
if libbe.TESTING == True: