orion / freeipa

Forked from freeipa 5 years ago
Clone

5eab20e ipa_certupdate: avoid classmethod and staticmethod

2 files Authored by ftweedal 6 years ago, Committed by cheimes 6 years ago,
    ipa_certupdate: avoid classmethod and staticmethod
    
    Because classmethod and staticmethod are just fancy ways of calling
    plain old functions, turn the classmethods and staticmethods of
    CertUpdate into plain old functions.
    
    This improves readability by making it clear that the behaviour of
    the routines cannot depend on instance or class variables.
    
    Part of: https://pagure.io/freeipa/issue/6577
    
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+3 -3