bebdce8 plugable: allow plugins to be non-classes

Authored and Committed by jcholast 7 years ago
    plugable: allow plugins to be non-classes
    
    Allow registering any object that is callable and has `name` and `bases`
    attributes as a plugin.
    
    https://fedorahosted.org/freeipa/ticket/4739
    
    Reviewed-By: David Kupka <dkupka@redhat.com>
    
        
file modified
+27 -18
file modified
+26 -0