From 873dbd13ff035f9364386ae22157bd45ae5c84c8 Mon Sep 17 00:00:00 2001 From: R-Fehler <36566250+R-Fehler@users.noreply.github.com> Date: Tue, 27 Aug 2024 15:34:13 +0200 Subject: [PATCH] Update print_ids.py to Python3 see: https://www.geeksforgeeks.org/difference-between-dict-items-and-dict-iteritems-in-python/ --- lanelet2_python/scripts/print_ids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lanelet2_python/scripts/print_ids.py b/lanelet2_python/scripts/print_ids.py index d2435f9b..dca9c491 100755 --- a/lanelet2_python/scripts/print_ids.py +++ b/lanelet2_python/scripts/print_ids.py @@ -21,7 +21,7 @@ def print_layer(layer, layerName): layers = {"Points": map.pointLayer, "Line Strings": map.lineStringLayer, "Polygons": map.polygonLayer, "Lanelets": map.laneletLayer, "Areas": map.areaLayer, "Regulatory Elements": map.regulatoryElementLayer} -for layer_name, layer in layers.iteritems(): +for layer_name, layer in layers.items(): if not args.has_id: print_layer(layer, layer_name) else: