diff --git a/pyopencl/cache.py b/pyopencl/cache.py index 0a9572e0bcf154bcd69e6e41c12cc4fda3401b00..d0077145cde10c3e04afdcf3e4131c536f3614fa 100644 --- a/pyopencl/cache.py +++ b/pyopencl/cache.py @@ -292,7 +292,7 @@ def _create_built_program_from_source_cached(ctx, src, options, devices, cache_d if cache_dir is None: from os.path import join from tempfile import gettempdir - import getpass + import getpass cache_dir = join(gettempdir(), "pyopencl-compiler-cache-v1-uid%s" % getpass.getuser())