Skip to content

Commit d4e8e1b

Browse files
committed
Fix unterminated fstrings
1 parent 08f2b28 commit d4e8e1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pythonbpf/functions_pass.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,8 @@ def allocate_mem(
469469
var = builder.alloca(ir_type, name=var_name)
470470
local_var_metadata[var_name] = call_type
471471
print(
472-
f"Pre-allocated variable {
473-
var_name} for struct {call_type}"
472+
f"Pre-allocated variable {var_name} "
473+
f"for struct {call_type}"
474474
)
475475
elif isinstance(rval.func, ast.Attribute):
476476
ir_type = ir.PointerType(ir.IntType(64))
@@ -671,8 +671,8 @@ def _expr_type(e):
671671
if found_type is None:
672672
found_type = t
673673
elif found_type != t:
674-
raise ValueError("Conflicting return types:" f"{
675-
found_type} vs {t}")
674+
raise ValueError("Conflicting return types:"
675+
f"{found_type} vs {t}")
676676
return found_type or "None"
677677

678678

0 commit comments

Comments
 (0)