diff options
author | W. Trevor King <wking@drexel.edu> | 2010-02-20 13:28:34 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-02-20 13:28:34 -0500 |
commit | 9e0399cd22521478a24cb08fc384ee946f14ef59 (patch) | |
tree | e0b8dee13adbf9007eda650a7b9dec3ee5c2967f /libbe/util | |
parent | b356b3a7628b687a3de9f714102c4fd2a170348b (diff) | |
download | bugseverywhere-9e0399cd22521478a24cb08fc384ee946f14ef59.tar.gz |
Fix len(char) assertion typo in libbe.util.utility.underlined()
Diffstat (limited to 'libbe/util')
-rw-r--r-- | libbe/util/utility.py | 2 |
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: |