From 7bb30667c61e8eb7307547d4d400c4b71c71b7fe Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 21 Dec 2023 22:05:56 +0100 Subject: [PATCH] image-info: fix inspect.getfullargspec() check --- tools/image-info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/image-info b/tools/image-info index 17027472..5d96a3af 100755 --- a/tools/image-info +++ b/tools/image-info @@ -2688,7 +2688,7 @@ def append_partitions(report, image): } # XXX: remove inspect and just add once osbuild PR#1501 is merged import inspect - if "partition" in inspect.getfullargspec(mounts.Mount): + if "partition" in inspect.getfullargspec(mounts.Mount).args: # Just a filesystem, no partitions on this device mnt_kwargs["partition"] = None mmgr.mount(mounts.Mount(**mnt_kwargs))