From 1efc2d126ea963268406f19740db78e51faa65e0 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 7 Jun 2023 12:35:39 -0700 Subject: [PATCH] remove comment (still can be either list or set) --- selfdrive/car/fw_versions.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/selfdrive/car/fw_versions.py b/selfdrive/car/fw_versions.py index ba9cfa7d95..cf99a2355d 100755 --- a/selfdrive/car/fw_versions.py +++ b/selfdrive/car/fw_versions.py @@ -60,9 +60,6 @@ def match_fw_to_car_fuzzy(fw_versions_dict, config, log=True, exclude=None): the match is rejected.""" # Build lookup table from (addr, sub_addr, fw) to list of candidate cars - # TODO: actually fine to be a set. we never assumed that there would be duplicate fw versions, - # but now there can be duplicate platform codes for a platform. well we now get the set of platform codes for a - # platform so it's actually fine as a list now, but it might make it easier to understand if it's a set all_fw_versions = defaultdict(list) all_platform_codes = defaultdict(list) for candidate, fw_by_addr in FW_VERSIONS.items():