Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
other indentation fixes
  • Loading branch information
ghtmtt authored and nyalldawson committed Mar 31, 2018
1 parent 4f55c29 commit 78ce8dd
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions python/plugins/processing/script/script_template.py
Expand Up @@ -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
Expand Down

0 comments on commit 78ce8dd

Please sign in to comment.