3 U\ @sddlmZmZmZ[[[GdddeZGdddeZGdddeZGdd d eZGd d d eZ Gd d d eZ GdddeZ GdddeZ GdddeZ GdddeZGdddeZGdddeZGdddeZGdddeZGdddeZGd d!d!eZd"S)#)absolute_importprint_functionunicode_literalsc@s:eZdZdZiZiZdddddddhZd d Zd d Zd S)Resultz>Result object Describes the result of an operation. acquireappendZdisownnextZownthisZthisownc Csx6|jjD](\}}t||r t|||t||q Wx<|jjD].\}}t||rDt||tt|t||qDWxDt|D]8}|j ds||j krqt||rqt||t||qWdS)N_) _typeitemshasattrsetattrgetattr_maplistmapdir startswith _blacklist)selfZfragilekeyfuncr/usr/lib64/python3.6/results.py__init__6s    zResult.__init__cs(djjjdjfddtDS)Nz{}({})z, c3s*|]"}|jdsdj|t|VqdS)r z{}={!r}N)rformatr).0k)rrr Jsz"Result.__repr__..)r __class____name__joinr)rr)rr__repr__GszResult.__repr__N) r! __module__ __qualname____doc__r rrrr#rrrrr!src@s eZdZdS) InvalidKeyN)r!r$r%rrrrr'Nsr'c@seZdZeedZdS) EncryptResult)Zinvalid_recipientsN)r!r$r%dictr'rrrrrr(Rsr(c@s eZdZdS) RecipientN)r!r$r%rrrrr*Vsr*c@s"eZdZeeedZeedZdS) DecryptResult)wrong_key_usageis_de_vs)Z recipientsN)r!r$r%r)boolr r*rrrrrr+Zs r+c@s eZdZdS) NewSignatureN)r!r$r%rrrrr/_sr/c@seZdZeeedZdS) SignResult)Zinvalid_signers signaturesN)r!r$r%r)r'r/rrrrrr0csr0c@s eZdZdS)NotationN)r!r$r%rrrrr2gsr2c@s$eZdZeeeedZeedZdS) Signature)r,Z chain_modelr-)Z notationsN)r!r$r%r)r.r r2rrrrrr3ksr3c@seZdZeedZdS) VerifyResult)r1N)r!r$r%r)r3rrrrrr4psr4c@s eZdZdS) ImportStatusN)r!r$r%rrrrr5tsr5c@seZdZeedZdS) ImportResult)ZimportsN)r!r$r%r)r5rrrrrr6xsr6c@seZdZeeedZdS) GenkeyResult)ZprimarysubN)r!r$r%r)r.r rrrrr7|sr7c@seZdZeedZdS) KeylistResult)Z truncatedN)r!r$r%r)r.r rrrrr9sr9c@s eZdZdS)VFSMountResultN)r!r$r%rrrrr:sr:c@s eZdZdS) EngineInfoN)r!r$r%rrrrr;sr;N)Z __future__rrrobjectrr'r(r*r+r/r0r2r3r4r5r6r7r9r:r;rrrrs" -