diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2009-11-23 14:44:56 +0100 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2009-11-23 14:44:56 +0100 |
commit | b7e84e3fc5418641041f95a80f08fe053c004c27 (patch) | |
tree | a0e0865c87e8bd127df674b53b30f3e323c1b255 /optik_ext.py | |
parent | b80f0a3c1f04c4446ab3f7ec019a3888fa098fab (diff) | |
download | logilab-common-b7e84e3fc5418641041f95a80f08fe053c004c27.tar.gz |
include Dotan Barak spell fixes patch
Diffstat (limited to 'optik_ext.py')
-rw-r--r-- | optik_ext.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/optik_ext.py b/optik_ext.py index 7305b7b..34dbfe9 100644 --- a/optik_ext.py +++ b/optik_ext.py @@ -110,7 +110,7 @@ def check_yn(option, opt, value): def check_named(option, opt, value): """check a named value - return a dictionnary containing (name, value) associations + return a dictionary containing (name, value) associations """ if isinstance(value, dict): return value @@ -165,7 +165,7 @@ def check_color(option, opt, value): return value # Else : not a color label neither a valid hexadecimal form => error msg = "option %s: invalid color : %r, should be either hexadecimal \ - value or predefinied color" + value or predefined color" raise OptionValueError(msg % (opt, value)) def check_time(option, opt, value): |