Skip to content
Permalink
Browse files

other indentation fixes

  • Loading branch information
ghtmtt authored and nyalldawson committed Mar 31, 2018
1 parent 4f55c29 commit 78ce8dde32dd8403118db74d837fc81640d07729
Showing with 13 additions and 3 deletions.
  1. +13 −3 python/plugins/processing/script/script_template.py
@@ -106,9 +106,19 @@ def processAlgorithm(self, parameters, context, feedback):
# Retrieve the feature source and sink. The 'dest_id' variable is used
# to uniquely identify the feature sink, and must be included in the
# dictionary returned by the processAlgorithm function.
source = self.parameterAsSource(parameters, self.INPUT, context)
(sink, dest_id) = self.parameterAsSink(parameters, self.OUTPUT,
context, source.fields(), source.wkbType(), source.sourceCrs())
source = self.parameterAsSource(
parameters,
self.INPUT,
context
)
(sink, dest_id) = self.parameterAsSink(
parameters,
self.OUTPUT,
context,
source.fields(),
source.wkbType(),
source.sourceCrs()
)

# Compute the number of steps to display within the progress bar and
# get features from source

0 comments on commit 78ce8dd

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