@@ -21,7 +21,7 @@ class _SectionConstraint(object):
2121 It supports all ConfigParser methods that operate on an option
2222 """
2323 __slots__ = ("_config" , "_section_name" )
24- _valid_attrs_ = ("get" , "set" , "getint" , "getfloat" , "getboolean" , "has_option" )
24+ _valid_attrs_ = ("get_value" , "set_value" , " get" , "set" , "getint" , "getfloat" , "getboolean" , "has_option" )
2525
2626 def __init__ (self , config , section ):
2727 self ._config = config
@@ -32,10 +32,10 @@ def __getattr__(self, attr):
3232 return lambda * args : self ._call_config (attr , * args )
3333 return super (_SectionConstraint ,self ).__getattribute__ (attr )
3434
35- def _call_config (self , method , * args ):
35+ def _call_config (self , method , * args , ** kwargs ):
3636 """Call the configuration at the given method which must take a section name
3737 as first argument"""
38- return getattr (self ._config , method )(self ._section_name , * args )
38+ return getattr (self ._config , method )(self ._section_name , * args , ** kwargs )
3939
4040
4141class PushProgress (object ):
0 commit comments