summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-29 08:20:19 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-29 08:20:19 +0100
commit8b6735c64b48153c5bf39536489834174edbd334 (patch)
tree0009064338f69727b37332853b45bba4094de6a4
parent6ac24fe2e631a4c2f5cf61233cb2168351f89e36 (diff)
remove unused function
-rwxr-xr-xlib/dfatool.py8
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)