You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseRecursionError(f'One or more functions in "{area.get("name", f"An area with these parameters: {area}")}"\'s requires looped too many time (maximum recursion is {world.rules_functions_maximum_recursion}) \
86
+
\n As of this Exception the following function(s) are waiting to run: {[f[0] forfinfound_functions]}\
87
+
\n And the currently processed requires look like this: "{requires_list}"')
88
+
else:
89
+
foriteminfound_functions:
90
+
func_name=item[0]
91
+
func_args=item[1].split(",")
92
+
iffunc_args== ['']:
93
+
func_args.pop()
86
94
87
-
func=globals().get(func_name)
95
+
func=globals().get(func_name)
88
96
89
-
iffuncisNone:
90
-
func=getattr(Rules, func_name, None)
97
+
iffuncisNone:
98
+
func=getattr(Rules, func_name, None)
91
99
92
-
ifnotcallable(func):
93
-
raiseValueError(f"Invalid function `{func_name}` in {area}.")
100
+
ifnotcallable(func):
101
+
raiseValueError(f"Invalid function `{func_name}` in {area}.")
94
102
95
-
convert_req_function_args(func, func_args, area.get("name", f"An area with these parameters: {area}"))
0 commit comments