From ee7c5d63ca0582245377e5698139309246335269 Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Tue, 12 Jan 2021 18:53:21 +0100 Subject: [PATCH] (small cleanup) --- fxconv/fxconv-main.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/fxconv/fxconv-main.py b/fxconv/fxconv-main.py index 7baf3d4..b5e4337 100755 --- a/fxconv/fxconv-main.py +++ b/fxconv/fxconv-main.py @@ -107,8 +107,7 @@ def main(): sys.exit(1) try: - models = "fx cg fx9860G fxCG50" - longs = f"help output= toolchain= arch= section= {models} {types}" + longs = f"help output= toolchain= arch= section= fx cg {types}" opts, args = getopt.gnu_getopt(sys.argv[1:], "hsbifo:", longs.split()) except getopt.GetoptError as error: return err(error) @@ -122,10 +121,6 @@ def main(): output = value elif name in [ "--fx", "--cg" ]: model = name[2:] - elif name == "--fx9860G": - model = "fx" - elif name == "--fxCG50": - model = "cg" elif name == "--toolchain": target['toolchain'] = value elif name == "--arch":