(cls, name, bases, attrs)
return super(GPGMeta, cls).__new__(cls, name, bases, attrs)
Construct the initialiser for GPG
Construct the initialiser for GPG
Construct the initialiser for GPG
def __new__(cls, name, bases, attrs):
        """Construct the initialiser for GPG"""
        log.debug("Metaclass __new__ constructor called for %r" % cls)
        if cls._find_agent():
            ## call the normal GPG.__init__() initialiser:
            attrs['init'] = cls.__init__
            attrs['_remove_agent'] = True
        return super(GPGMeta, cls).__new__(cls, name, bases, attrs)
def __new__ ( cls , name , bases , attrs ) : log . debug ( "Metaclass __new__ constructor called for %r" % cls ) if cls . _find_agent ( ) : ## call the normal GPG.__init__() initialiser: attrs [ 'init' ] = cls . __init__ attrs [ '_remove_agent' ] = True return super ( GPGMeta , cls ) . __new__ ( cls , name , bases , attrs )