[Piglit] [PATCH 1/2] framework/backends: Make BackendError a PiglitInternalError

Brian Paul brianp at vmware.com
Fri Nov 4 20:18:42 UTC 2016


On 11/04/2016 01:49 PM, Dylan Baker wrote:
> Just a bit of house keeping.
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>   framework/backends/__init__.py | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/framework/backends/__init__.py b/framework/backends/__init__.py
> index 488ad55..ce9f1db 100644
> --- a/framework/backends/__init__.py
> +++ b/framework/backends/__init__.py
> @@ -49,6 +49,7 @@ import importlib
>
>   import six
>
> +from framework import exceptions
>   from .register import Registry
>   from .compression import COMPRESSION_SUFFIXES
>
> @@ -62,7 +63,7 @@ __all__ = [
>   ]
>
>
> -class BackendError(Exception):
> +class BackendError(exceptions.PiglitInternalError):
>       pass
>
>
>

Acked-by: Brian Paul <brianp at vmware.com>



More information about the Piglit mailing list