Fix --trace-libvirt option

This commit is contained in:
Cole Robinson 2013-07-06 14:33:02 -04:00
parent 94f8d4cfa9
commit c0deb97dba

View File

@ -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)