Skip to content

Commit 0303a6e

Browse files
authored
Merge pull request #583 from cehbrecht/fix-ogr-import
avoid ogr import failure when running tests
2 parents 6336082 + 5e035e7 commit 0303a6e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pywps/dependencies.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from osgeo import gdal, ogr
1111
except ImportError:
1212
warnings.warn('Complex validation requires GDAL/OGR support.')
13+
ogr = None
1314

1415
try:
1516
import netCDF4

0 commit comments

Comments
 (0)