[Piglit] [PATCH] deqp: Add test profile for external dEQP-GLES3 tests (v4)

Chad Versace chad.versace at linux.intel.com
Tue Dec 16 14:52:08 PST 2014


On 12/16/2014 02:10 PM, Dylan Baker wrote:
> On Tuesday, December 16, 2014 01:49:20 PM Chad Versace wrote:

>> +    try:
>> +        opt = framework.core.PIGLIT_CONFIG.get(config_option[0],
>> +                                               config_option[1])
>> +    except ConfigParser.NoSectionError:
>> +        pass
>> +    except ConfigParser.NoOptionError:
>> +        pass
> 
> You should combine these

What's the syntax? I tried

    except ConfigParser.NoSectionError, ConfigParser.NoOptionError:
        pass

but that failed to catch ConfigParser.NoOptionError.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20141216/6dab8b3e/attachment.sig>


More information about the Piglit mailing list