Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Indentation update
  • Loading branch information
m-kuhn committed Mar 14, 2016
1 parent 9ca09ab commit d6fca7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/SplitLinesWithLines.py
Expand Up @@ -130,8 +130,8 @@ def processAlgorithm(self, progress):

for aLine in inLines:
if len(aLine.asPolyline()) > 2 or \
(len(aLine.asPolyline()) == 2 and \
aLine.asPolyline()[0] != aLine.asPolyline()[1]):
(len(aLine.asPolyline()) == 2 and
aLine.asPolyline()[0] != aLine.asPolyline()[1]):
# sometimes splitting results in lines of zero length
outFeat.setGeometry(aLine)
writer.addFeature(outFeat)
Expand Down

0 comments on commit d6fca7e

Please sign in to comment.