Skip to content

Commit

Permalink
avoid gdalconst deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 28, 2013
1 parent 1212880 commit 13b362e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/sextante/tools/raster.py
Expand Up @@ -24,7 +24,7 @@
__revision__ = '$Format:%H$'

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

def scanraster(layer, progress):
Expand All @@ -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.