diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-29 08:20:19 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-29 08:20:19 +0100 |
commit | 8b6735c64b48153c5bf39536489834174edbd334 (patch) | |
tree | 0009064338f69727b37332853b45bba4094de6a4 /lib/dfatool.py | |
parent | 6ac24fe2e631a4c2f5cf61233cb2168351f89e36 (diff) |
remove unused function
Diffstat (limited to 'lib/dfatool.py')
-rwxr-xr-x | lib/dfatool.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/dfatool.py b/lib/dfatool.py index 297cd71..5af6cc8 100755 --- a/lib/dfatool.py +++ b/lib/dfatool.py @@ -109,14 +109,6 @@ def gplearn_to_function(function_str: str): print(eval_str) return eval(eval_str, eval_globals) -def _elem_param_and_arg_list(elem: dict): - param_dict = elem['parameter'] - paramkeys = sorted(param_dict.keys()) - paramvalue = [soft_cast_int(param_dict[x]) for x in paramkeys] - if arg_support_enabled and 'args' in elem: - paramvalue.extend(map(soft_cast_int, elem['args'])) - return paramvalue - def _arg_name(arg_index: int) -> str: return '~arg{:02}'.format(arg_index) |