mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Fix --trace-libvirt option
This commit is contained in:
parent
94f8d4cfa9
commit
c0deb97dba
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user