Skip to content

Commit 139a2c2

Browse files
committed
Fix python 3.8
1 parent a8346cb commit 139a2c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/semiwrap/cmd_genmeson.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ def getvar(self, item: VarTypes) -> str:
9090
def _render_build_target(r: RenderBuffer, vc: VarCache, bt: BuildTarget):
9191
outvar = vc.getvar(bt)
9292

93-
cmd = [f"_sw_cmd_{bt.command.replace("-", "_")}"]
93+
bt_cmd = bt.command.replace("-", "_")
94+
cmd = [f"_sw_cmd_{bt_cmd}"]
9495
tinput = []
9596
toutput = []
9697
depfile = None

0 commit comments

Comments
 (0)