Skip to content
Permalink
Browse files

Indentation update

  • Loading branch information
m-kuhn committed Mar 14, 2016
1 parent 9ca09ab commit d6fca7e2e3342675c9f3b2d986636d07d4098c7b
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/qgis/SplitLinesWithLines.py
@@ -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)

0 comments on commit d6fca7e

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