We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9494c8 commit f4d903dCopy full SHA for f4d903d
pythonbpf/allocation_pass.py
@@ -27,11 +27,11 @@ def create_targets_and_rvals(stmt):
27
if isinstance(stmt.targets[0], ast.Tuple):
28
if not isinstance(stmt.value, ast.Tuple):
29
logger.warning("Mismatched multi-target assignment, skipping allocation")
30
- return
+ return [], []
31
targets, rvals = stmt.targets[0].elts, stmt.value.elts
32
if len(targets) != len(rvals):
33
logger.warning("length of LHS != length of RHS, skipping allocation")
34
35
return targets, rvals
36
return stmt.targets, [stmt.value]
37
0 commit comments