summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Rose <erik@mozilla.com>2011-11-30 13:25:13 -0800
committerErik Rose <erik@mozilla.com>2011-11-30 13:25:13 -0800
commit9647da944a5f17e5b46ef9ad86830e8bdd47968c (patch)
tree31371fd4ca697c9efd3c4b206fd13d623c307349
parent5e4486301e9fa5e0be1e27335ba315e72d51a664 (diff)
downloadblessings-9647da944a5f17e5b46ef9ad86830e8bdd47968c.tar.gz
I often type "light" instead of "bright" by mistake. Make the error message correct me.
-rw-r--r--blessings/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/blessings/__init__.py b/blessings/__init__.py
index 5f43ae4..b4b2ecb 100644
--- a/blessings/__init__.py
+++ b/blessings/__init__.py
@@ -305,7 +305,7 @@ class ParametrizingString(unicode):
raise TypeError(
'A native or nonexistent capability template received '
'%r when it was expecting ints. You probably misspelled a '
- 'formatting call like bold_red_on_white(...).' % args)
+ 'formatting call like bright_red_on_white(...).' % args)
else:
# Somebody passed a non-string; I don't feel confident
# guessing what they were trying to do.