Skip to content

Commit ab9da26

Browse files
committed
fix typo
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
1 parent 643a0c8 commit ab9da26

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

planning/static_centerline_generator/scripts/show_lanelet2_map_diff.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ def sort_attributes(root):
2525
attrib = shallow_element.attrib
2626
if len(attrib) > 1:
2727
# adjust attribute order, e.g. by sorting
28-
attribs = sorted(attrib.items())
28+
attributes = sorted(attrib.items())
2929
attrib.clear()
30-
attrib.update(attribs)
30+
attrib.update(attributes)
3131
if shallow_element.tag == "relation":
3232
pass
3333

@@ -41,9 +41,9 @@ def sort_attributes(root):
4141
attrib = deep_element.attrib
4242
if len(attrib) > 1:
4343
# adjust attribute order, e.g. by sorting
44-
attribs = sorted(attrib.items())
44+
attributes = sorted(attrib.items())
4545
attrib.clear()
46-
attrib.update(attribs)
46+
attrib.update(attributes)
4747

4848

4949
def remove_diff_to_ignore(osm_root):
@@ -65,13 +65,13 @@ def remove_diff_to_ignore(osm_root):
6565
if __name__ == "__main__":
6666
parser = argparse.ArgumentParser()
6767
parser.add_argument(
68-
"-s", "--sort-attributes", action="store_true", help="Sort attribues of LL2 maps"
68+
"-s", "--sort-attributes", action="store_true", help="Sort attributes of LL2 maps"
6969
)
7070
parser.add_argument(
7171
"-i",
7272
"--ignore-minor-attributes",
7373
action="store_true",
74-
help="Ignore minor attribues of LL2 maps which does not change the map's behavior",
74+
help="Ignore minor attributes of LL2 maps which does not change the map's behavior",
7575
)
7676
args = parser.parse_args()
7777

0 commit comments

Comments
 (0)