Skip to content

Commit

Permalink
52ac93e7: jBuild/clang_ecs_parser.py: don't use f-strings without a need
Browse files Browse the repository at this point in the history
  • Loading branch information
NicSavichev committed Dec 15, 2024
1 parent c82579d commit 4f0d3d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prog/_jBuild/_scripts/clang_ecs_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,9 @@ def get_function_info(node, file, is_es_name, all_functions, all_gets, queries_t
# get_params_info(node)
sortedArgs = sorted_by_loc(node.get_arguments())
if not sortedArgs:
raise RuntimeError("ECS systems with no arguments are not supported!" +
f" Please, add at least a single argument to {node.spelling} "
"(could be `ecs::Event&`, `ecs::EntityMgr&` or `ecs::EntityId)")
raise RuntimeError("ECS systems with no arguments are not supported!"
" Please, add at least a single argument to {} "
"(could be `ecs::Event&`, `ecs::EntityMgr&` or `ecs::EntityId)".format(node.spelling))
current_function = node.spelling
parsedFunction = ParsedFunction(node.spelling, fully_qualified(node))
parsedFunction.isEvent = is_event_type(sortedArgs[0])
Expand Down

0 comments on commit 4f0d3d6

Please sign in to comment.