]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
pyrpc_util: fix error Exception message in py_check_dcerpc_type()
authorStefan Metzmacher <metze@samba.org>
Tue, 19 Nov 2024 14:55:30 +0000 (15:55 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 5 Dec 2024 16:46:38 +0000 (16:46 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/librpc/rpc/pyrpc_util.c

index 2c7f4a7be714281db5a45a2c668cd3dca591576c..b6eb8fc2200b6989a4db5f187ba6172555921b41 100644 (file)
@@ -53,7 +53,7 @@ bool py_check_dcerpc_type(PyObject *obj, const char *module, const char *type_na
        Py_DECREF(mod);
        if (type == NULL) {
                PyErr_Format(PyExc_RuntimeError, "Unable to find type %s in module %s",
-                       module, type_name);
+                            type_name, module);
                return false;
        }