Skip to content

Commit 6f2d4dd

Browse files
committed
Fixed trailing whitespace and test data error.
1 parent 750398f commit 6f2d4dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/TagFix_Maxspeed_AT.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def init(self, logger):
5151
detail=T_(
5252
'''A speed limit type is given in `maxspeed:type` or `source:maxspeed`, but no speed limit is set in `maxspeed`.'''),
5353
fix=T_(
54-
'''Set `maxspeed` and either `maxspeed:type` or `source:maxspeed` as appropriate. For a list of values,
54+
'''Set `maxspeed` and either `maxspeed:type` or `source:maxspeed` as appropriate. For a list of values,
5555
see [Implicit maxspeed values](https://wiki.openstreetmap.org/wiki/Key:maxspeed#Implicit_maxspeed_values).'''),
5656
trap=T_(
5757
'''Do not just add a `maxspeed` value suitable for the type. The type may be incorrect too!
@@ -63,7 +63,7 @@ def init(self, logger):
6363
detail=T_(
6464
'''The speed limit in `maxspeed` must be either numeric or `walk`. Do not specify a unit, km/h is the default.'''),
6565
fix=T_(
66-
'''Set `maxspeed` as appropriate and set speed limit type in either `maxspeed:type` or `source:maxspeed`. For a list of values,
66+
'''Set `maxspeed` as appropriate and set speed limit type in either `maxspeed:type` or `source:maxspeed`. For a list of values,
6767
see [Implicit maxspeed values](https://wiki.openstreetmap.org/wiki/Key:maxspeed#Implicit_maxspeed_values).'''),
6868
trap=T_(
6969
'''If a speed limit type (e.g. `AT:*`) is set in `maxspeed`, do not assume it is correct!
@@ -245,4 +245,4 @@ def test(self):
245245
'maxspeed:type': 'AT:city_limit30'}, None))
246246

247247
self.check_err(plugin.way(None, {'highway': 'tertiary', 'maxspeed': '50',
248-
'source:maxspeed': 'AT:rural'}, None))
248+
'source:maxspeed': 'AT:city_limit30'}, None))

0 commit comments

Comments
 (0)