Skip to content
Snippets Groups Projects
Commit e0a7fb89 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't create None sub-option. Fixes #4379

parent b5b37405
No related branches found
No related tags found
No related merge requests found
......@@ -575,6 +575,8 @@ class Config:
if not self.__options_per_key.has_key(optname):
# raise RuntimeError, 'option %s does not exist' % optname
return
if not key:
return
dict = self.__options_per_key[optname][1]
if not dict.has_key(key):
# raise RuntimeError, '%s is not a key of %s' % (key, dict)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment