[processing] remove unused variables

This commit is contained in:
Alexander Bruy 2016-12-03 14:41:38 +02:00
parent fd5f641030
commit 5b9d11bf81

View File

@ -77,10 +77,6 @@ class ShortestPath(GeoAlgorithm):
self.tr('Both directions'): QgsVectorLayerDirector.DirectionForward
}
self.UNITS = {self.tr('Meters'): 1,
self.tr('Kilometers'): 1000
}
self.name, self.i18n_name = self.trAlgorithm('Shortest path')
self.group, self.i18n_group = self.trAlgorithm('Network analysis')
@ -117,7 +113,6 @@ class ShortestPath(GeoAlgorithm):
self.tr('Topology tolerance'),
0.0, 0.0, 99999999.999999))
for p in params:
p.isAdvanced = True
self.addParameter(p)