Skip to content
Permalink
Browse files

Indentation

  • Loading branch information
nyalldawson committed Jun 14, 2018
1 parent b11769f commit f838001d0aa23e4d862968550d5c262c36363c35
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/qgis/CreateConstantRaster.py
@@ -42,7 +42,6 @@


class CreateConstantRaster(QgisAlgorithm):

EXTENT = 'EXTENT'
TARGET_CRS = 'TARGET_CRS'
PIXEL_SIZE = 'PIXEL_SIZE'
@@ -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)

0 comments on commit f838001

Please sign in to comment.
You can’t perform that action at this time.