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

Submitted by Dylan Baker on Nov. 4, 2016, 7:49 p.m.

Details

Message ID 20161104194940.4382-1-dylan@pnwbakers.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Piglit

Not browsing as part of any series.

Commit Message

Dylan Baker Nov. 4, 2016, 7:49 p.m.
Just a bit of house keeping.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
---
 framework/backends/__init__.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

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
 
 

Comments

On 11/04/2016 01:49 PM, Dylan Baker wrote:
> Just a bit of house keeping.
>
> Signed-off-by: Dylan Baker <dylanx.c.baker@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@vmware.com>