From d8722735c4c5198a0a11ddaebf011034f677aa7f Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 11 Jan 2021 15:25:03 -0500 Subject: [PATCH 1/2] Add missing @staticmethod for python2 Fixes: https://github.com/fedora-modularity/libmodulemd/issues/537 Signed-off-by: Stephen Gallagher --- bindings/python/gi/overrides/Modulemd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/python/gi/overrides/Modulemd.py b/bindings/python/gi/overrides/Modulemd.py index 9e6d1c212e663c4d1392ce9c8d4ea66abbc9f7ac..23d5218cbe37c9d08f9d88debb541f6467b68404 100644 --- a/bindings/python/gi/overrides/Modulemd.py +++ b/bindings/python/gi/overrides/Modulemd.py @@ -26,10 +26,11 @@ Modulemd = get_introspection_module("Modulemd") __all__ = [] class ModulemdUtil(object): + @staticmethod def strip_gtype(method): @functools.wraps(method) def wrapped(*args, **kwargs): ret = method(*args, **kwargs) if len(ret) == 2: -- 2.29.2