From 44da0aca6f601b1933dc86fdc3beb347008c8c9d Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Tue, 27 Nov 2018 13:21:43 -0600 Subject: [PATCH] Placate flake8 --- pyopencl/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py index 20777ed4..8120022e 100644 --- a/pyopencl/__init__.py +++ b/pyopencl/__init__.py @@ -24,7 +24,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ -import re import six from six.moves import input, intern @@ -242,7 +241,8 @@ def _find_pyopencl_include_path(): try: # Try to find the resource with pkg_resources (the recommended # setuptools approach) - include_path = resource_filename(Requirement.parse("pyopencl"), "pyopencl/cl") + include_path = resource_filename( + Requirement.parse("pyopencl"), "pyopencl/cl") except DistributionNotFound: # If pkg_resources can't find it (e.g. if the module is part of a # frozen application), try to find the include path in the same -- GitLab