Skip to content
Permalink
Browse files
avoid gdalconst deprecation warning
  • Loading branch information
jef-n committed Feb 28, 2013
1 parent 1212880 commit 13b362e583ca87e97d6360be1ed39ce515b3a4ad
Showing 1 changed file with 2 additions and 2 deletions.
@@ -24,7 +24,7 @@
__revision__ = '$Format:%H$'

from osgeo import gdal
from gdalconst import *
from osgeo.gdalconst import *
import struct

def scanraster(layer, progress):
@@ -39,4 +39,4 @@ def scanraster(layer, progress):
for value in values:
if value == nodata:
value = None
yield value
yield value

0 comments on commit 13b362e

Please sign in to comment.