Skip to content

Commit 6008d98

Browse files
committed
Change loglevel of multi-assignment warning in handle_assign
1 parent 120aec0 commit 6008d98

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pythonbpf/functions/functions_pass.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,11 @@ def handle_assign(
4848
func, module, builder, stmt, map_sym_tab, local_sym_tab, structs_sym_tab
4949
):
5050
"""Handle assignment statements in the function body."""
51+
52+
# TODO: Support this later
53+
# GH #37
5154
if len(stmt.targets) != 1:
52-
logger.info("Unsupported multiassignment")
55+
logger.error("Multi-target assignment is not supported for now")
5356
return
5457

5558
num_types = ("c_int32", "c_int64", "c_uint32", "c_uint64")

0 commit comments

Comments
 (0)