From c0deb97dba98cb186654b631886428fb7efecb7f Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sat, 6 Jul 2013 14:33:02 -0400 Subject: [PATCH] Fix --trace-libvirt option --- virtManager/module_trace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtManager/module_trace.py b/virtManager/module_trace.py index 5207b9629..f125cd2f6 100644 --- a/virtManager/module_trace.py +++ b/virtManager/module_trace.py @@ -75,5 +75,5 @@ def wrap_module(module, regex=None, tb=False): obj = getattr(module, name) if type(obj) is FunctionType: wrap_func(module, obj, tb) - if type(obj) is ClassType: + if type(obj) is ClassType or type(obj) is type: wrap_class(obj, tb)