From 0e28cd49620215d4a9a2f1efd3e514d6e0848a0e Mon Sep 17 00:00:00 2001 From: David Sangrey Date: Mon, 1 Dec 2025 22:08:16 -0500 Subject: [PATCH] [Minor] Remove Unneeded Keys Calls --- coriolis-update-files.py | 2 +- edmc_data.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coriolis-update-files.py b/coriolis-update-files.py index 40d25fb3..f15d4067 100755 --- a/coriolis-update-files.py +++ b/coriolis-update-files.py @@ -45,7 +45,7 @@ if __name__ == "__main__": # noqa: C901 # Symbolic name from in-game name reverse_ship_map = {v: k for k, v in list(ship_name_map.items())} - bulkheads = list(outfitting.armour_map.keys()) + bulkheads = list(outfitting.armour_map) ships = {} modules = {} diff --git a/edmc_data.py b/edmc_data.py index f29795f4..1a94b3ab 100644 --- a/edmc_data.py +++ b/edmc_data.py @@ -605,7 +605,7 @@ edmc_suit_symbol_localised = { # This is sourced from what the game is passed by the launcher, caveat emptor. It was mentioned that / is also # an option # This is only run once when this file is imported by something, no runtime cost or repeated expansions will occur -__keys = list(edmc_suit_symbol_localised.keys()) +__keys = list(edmc_suit_symbol_localised) for lang in __keys: new_lang = lang.replace('\\', r'\\') new_lang_2 = lang.replace('\\', '/')