From 6008d9841f038924c2cdd72d717c565f6e1f82c5 Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Wed, 8 Oct 2025 22:45:09 +0530 Subject: [PATCH] Change loglevel of multi-assignment warning in handle_assign --- pythonbpf/functions/functions_pass.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pythonbpf/functions/functions_pass.py b/pythonbpf/functions/functions_pass.py index 7fc3feb..0da41fd 100644 --- a/pythonbpf/functions/functions_pass.py +++ b/pythonbpf/functions/functions_pass.py @@ -48,8 +48,11 @@ def handle_assign( func, module, builder, stmt, map_sym_tab, local_sym_tab, structs_sym_tab ): """Handle assignment statements in the function body.""" + + # TODO: Support this later + # GH #37 if len(stmt.targets) != 1: - logger.info("Unsupported multiassignment") + logger.error("Multi-target assignment is not supported for now") return num_types = ("c_int32", "c_int64", "c_uint32", "c_uint64")