mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
[processing] remove unused variables
This commit is contained in:
parent
fd5f641030
commit
5b9d11bf81
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user