diff options
author | Sylvain Thenault <sylvain.thenault@logilab.fr> | 2008-09-19 10:00:16 +0200 |
---|---|---|
committer | Sylvain Thenault <sylvain.thenault@logilab.fr> | 2008-09-19 10:00:16 +0200 |
commit | 85bc016e7e811e8a53060e63d44098c77486f651 (patch) | |
tree | 67e3283442ae869a5cc3aa9dc2965519ecee51c4 /configuration.py | |
parent | c3eb8e870d7619be8c2ee27a6df859cc7bf408b5 (diff) | |
download | logilab-common-85bc016e7e811e8a53060e63d44098c77486f651.tar.gz |
add a comment
Diffstat (limited to 'configuration.py')
-rw-r--r-- | configuration.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configuration.py b/configuration.py index 9fb4e66..d394ce6 100644 --- a/configuration.py +++ b/configuration.py @@ -400,6 +400,10 @@ class OptionsManagerMixIn(object): opt_dict['action'] = 'callback' opt_dict['callback'] = self.cb_set_provider_option for specific in ('default', 'group', 'inputlevel'): + # cleanup option definition dict before giving it to optik: + # * group and inputlevel are lgc.configuration specific information + # * default is handled here and *must not* be given to optik if you + # want the whole machinery to work if opt_dict.has_key(specific): del opt_dict[specific] args = ['--' + opt_name] |