diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py
index 20777ed4a9e51f2625cca1f775048b212fbc608d..8120022e8b42f6d9851e9d66d9b51ff7432d0973 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