While with the current thread model this makes no difference, it is required if we want to allow more parallel thread models. --- plugins/python/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/python/python.c b/plugins/python/python.c index f21a1602..9fa89964 100644 --- a/plugins/python/python.c +++ b/plugins/python/python.c @@ -63,7 +63,7 @@ static const char *script; static PyObject *module; static int py_api_version = 1; -static int last_error; +static __thread int last_error; /* Is a callback defined? */ static int -- 2.27.0 _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
