Skip to content
Permalink
Browse files

identation errors and wrong file paths

  • Loading branch information
Maximilian Krambach
Maximilian Krambach committed Mar 22, 2016
1 parent 2f97ec6 commit 097b18190c2a974a393d4ca2041d9a20673e70bf
@@ -93,9 +93,11 @@ def processAlgorithm(self, progress):
if len(errors) != 0:
for error in errors:
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR,
self.tr('ValidateGeometry() error: One or '
'more input features have invalid '
'geometry: ') + error.what())
self.tr('ValidateGeometry()'
'error: One or more '
'input features have '
'invalid geometry: ')
+ error.what())
continue
outFeat.setGeometry(tmpInGeom)
first = False
@@ -108,9 +110,11 @@ def processAlgorithm(self, progress):
if len(errors) != 0:
for error in errors:
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR,
self.tr('ValidateGeometry() error: One or '
'more input features have invalid '
'geometry: ') + error.what())
self.tr('ValidateGeometry()'
'error:One or more input'
'features have invalid '
'geometry: ')
+ error.what())
continue
try:
tmpOutGeom = QgsGeometry(tmpOutGeom.combine(tmpInGeom))
@@ -142,9 +146,11 @@ def processAlgorithm(self, progress):
if len(errors) != 0:
for error in errors:
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR,
self.tr('ValidateGeometry() error: One or '
'more input features have invalid '
'geometry: ') + error.what())
self.tr('ValidateGeometry() '
'error: One or more input'
'features have invalid '
'geometry: ')
+ error.what())

if attrDict[unicode(tempItem).strip()] is None:
# keep attributes of first feature
@@ -208,7 +208,7 @@ tests:
DISSOLVE_ALL: 'True'
FIELD: None
INPUT:
name: nullGeometryDissolve.gml
name: custom/nullGeometryDissolve.gml
type: vector
results:
OUTPUT:
@@ -222,9 +222,10 @@ tests:
DISSOLVE_ALL: 'True'
FIELD: None
INPUT:
name: PolygonDissolveTest.gml
name: custom/PolygonDissolveTest.gml
type: vector
results:
OUTPUT:
type: vector
name: expected/PolygonDissolveTest_output.gml

0 comments on commit 097b181

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