From 96cb6fc3f17a5ce7be77fa094976f0802ce79561 Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Mon, 14 Feb 2022 20:53:15 +0100 Subject: [PATCH] binfmt.unregister(): drop unused args --- binfmt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binfmt.py b/binfmt.py index 2497db4..7c536fc 100644 --- a/binfmt.py +++ b/binfmt.py @@ -69,7 +69,7 @@ def register(arch): raise Exception(f'Failed to register qemu-user for {arch} with binfmt_misc, {binfmt}/{info["name"]} not found') -def unregister(args, arch): +def unregister(arch): binfmt_file = "/proc/sys/fs/binfmt_misc/qemu-" + arch if not os.path.exists(binfmt_file): return