From 5cfd9d2fc420dbdebddff9b9c3b509af858868f7 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Wed, 3 Aug 2016 18:35:22 -0500
Subject: [PATCH] PEP8 cleanups

---
 pyopencl/cffi_cl.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/pyopencl/cffi_cl.py b/pyopencl/cffi_cl.py
index 7962bf8d..52645cde 100644
--- a/pyopencl/cffi_cl.py
+++ b/pyopencl/cffi_cl.py
@@ -170,7 +170,8 @@ def _generic_info_to_python(info):
     if type_ == 'char*':
         ret = _ffi_pystr(value)
     elif type_ == 'cl_device_topology_amd*':
-        ret = DeviceTopologyAmd(value.pcie.bus, value.pcie.device, value.pcie.function)
+        ret = DeviceTopologyAmd(
+                value.pcie.bus, value.pcie.device, value.pcie.function)
     elif type_.startswith('char*['):
         ret = list(map(_ffi_pystr, value))
         _lib.free_pointer_array(info.value, len(value))
@@ -1842,6 +1843,7 @@ class ImageDescriptor(object):
 
 # }}}
 
+
 # {{{ Image
 
 _int_dtype = ({
@@ -1982,6 +1984,9 @@ class GLTexture(Image, _GLObject):
 
 # }}}
 
+
+# {{{ DeviceTopologyAmd
+
 class DeviceTopologyAmd(object):
     # Hack around fmt.__dict__ check in test_wrapper.py
     __dict__ = {}
@@ -2026,4 +2031,6 @@ class DeviceTopologyAmd(object):
     def function(self, value):
         self._pcie.function = value
 
+# }}}
+
 # vim: foldmethod=marker
-- 
GitLab