Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Indentation
  • Loading branch information
nyalldawson committed Jun 14, 2018
1 parent b11769f commit f838001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/CreateConstantRaster.py
Expand Up @@ -42,7 +42,6 @@


class CreateConstantRaster(QgisAlgorithm):

EXTENT = 'EXTENT'
TARGET_CRS = 'TARGET_CRS'
PIXEL_SIZE = 'PIXEL_SIZE'
Expand Down Expand Up @@ -100,7 +99,8 @@ def processAlgorithm(self, parameters, context, feedback):
raise QgsProcessingException(self.tr("Could not create raster output: {}").format(outputFile))
if not provider.isValid():
raise QgsProcessingException(self.tr("Could not create raster output {}: {}").format(outputFile,
provider.error().message(QgsErrorMessage.Text)))
provider.error().message(
QgsErrorMessage.Text)))

provider.setNoDataValue(1, -9999)

Expand Down

0 comments on commit f838001

Please sign in to comment.