From 7c7a196a4aa50ccba77f8fb0124b8c7e9c2f0ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Thu, 24 Jan 2019 06:52:44 +0100 Subject: [PATCH] Remove accidentally-committed debugging raise statement in pyopencl.cache (Closes #12) --- pyopencl/cache.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pyopencl/cache.py b/pyopencl/cache.py index 48b6270e..3e4bc65d 100644 --- a/pyopencl/cache.py +++ b/pyopencl/cache.py @@ -480,7 +480,6 @@ def create_built_program_from_source_cached(ctx, src, options_bytes, devices=Non already_built = False except Exception as e: - raise from pyopencl import Error if (isinstance(e, Error) and e.code == _cl.status_code.BUILD_PROGRAM_FAILURE): -- GitLab