Changes

m
no edit summary
Line 31: Line 31:  
          
 
          
 
         for obj in gc.get_objects():
 
         for obj in gc.get_objects():
             if hasattr(obj, '__class__') and obj.__class__.__name__.find('ChooserListView') > -1:
+
             if hasattr(obj, '__class__') and 'ChooserListView' in obj.__class__.__name__:
 
                 logging.debug(obj)  
 
                 logging.debug(obj)  
 
   
 
   
6

edits