From 73a4a5d394a0b58b38eba5a5dbf677dda0f6bd42 Mon Sep 17 00:00:00 2001 From: Amiya Maji Date: Thu, 1 Apr 2021 19:52:04 -0400 Subject: [PATCH] gdal package needs to import the 'os' module (#22731) * 'gdal+java' build needs to import the 'os' module (line 191). * Make style-check happy. --- var/spack/repos/builtin/packages/gdal/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/gdal/package.py b/var/spack/repos/builtin/packages/gdal/package.py index 3a8b0f558e..cbc00ff153 100644 --- a/var/spack/repos/builtin/packages/gdal/package.py +++ b/var/spack/repos/builtin/packages/gdal/package.py @@ -3,6 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import os + class Gdal(AutotoolsPackage): """GDAL (Geospatial Data Abstraction Library) is a translator library for