Skip to content

Commit 5b9d11b

Browse files
committedDec 13, 2016
[processing] remove unused variables
1 parent fd5f641 commit 5b9d11b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
 

‎python/plugins/processing/algs/qgis/ShortestPath.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ def defineCharacteristics(self):
7777
self.tr('Both directions'): QgsVectorLayerDirector.DirectionForward
7878
}
7979

80-
self.UNITS = {self.tr('Meters'): 1,
81-
self.tr('Kilometers'): 1000
82-
}
83-
8480
self.name, self.i18n_name = self.trAlgorithm('Shortest path')
8581
self.group, self.i18n_group = self.trAlgorithm('Network analysis')
8682

@@ -117,7 +113,6 @@ def defineCharacteristics(self):
117113
self.tr('Topology tolerance'),
118114
0.0, 0.0, 99999999.999999))
119115

120-
121116
for p in params:
122117
p.isAdvanced = True
123118
self.addParameter(p)

0 commit comments

Comments
 (0)
Please sign in to comment.