[Piglit] [PATCH 1/3] core: Initialize ConfigParser with allow_no_value=True

Dylan Baker baker.dylan.c at gmail.com
Mon Aug 18 11:52:36 PDT 2014


On Monday, August 18, 2014 10:44:40 AM Tom Stellard wrote:
> ---
>  framework/core.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/framework/core.py b/framework/core.py
> index d3922a9..950ed7e 100644
> --- a/framework/core.py
> +++ b/framework/core.py
> @@ -37,7 +37,7 @@ __all__ = ['PIGLIT_CONFIG',
>             'parse_listfile']
>  
>  
> -PIGLIT_CONFIG = ConfigParser.SafeConfigParser()
> +PIGLIT_CONFIG = ConfigParser.SafeConfigParser(allow_no_value=True)
>  
>  def get_config(arg=None):
>      if arg:

Reviewed-by: Dylan Baker <baker.dylan.c at gmail.com>

> -- 
> 1.8.1.5
> 
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140818/d9e52b8d/attachment.sig>


More information about the Piglit mailing list