o ÞñÐa–ã@sŠddlZGdd„deƒZGdd„deƒZGdd„deƒZGdd „d eƒZGd d „d eƒZGd d „d eeƒZGdd„dƒZ Gdd„dƒZ dS)éNc@óeZdZdZdS)Ú KeyringErrorz$Base class for exceptions in keyringN©Ú__name__Ú __module__Ú __qualname__Ú__doc__©r r ú0/usr/lib/python3/dist-packages/keyring/errors.pyrórc@r)ÚPasswordSetErrorz&Raised when the password can't be set.Nrr r r r r r r c@r)ÚPasswordDeleteErrorz*Raised when the password can't be deleted.Nrr r r r r r r c@r)Ú InitErrorz0Raised when the keyring could not be initialisedNrr r r r rr rc@r)Ú KeyringLockedz(Raised when the keyring failed unlockingNrr r r r rr rc@r)ÚNoKeyringErrorz'Raised when there is no keyring backendNrr r r r rr rc@s,eZdZdZefdd„Zdd„Zdd„ZdS) ÚExceptionRaisedContextz[ An exception-trapping context that indicates whether an exception was raised. cCs||_d|_dS©N)ÚExpectedExceptionÚexc_info)Úselfrr r r Ú__init__"s zExceptionRaisedContext.__init__cCst t¡|_|jSr)ÚobjectÚ__new__Ú ExceptionInfor©rr r r Ú __enter__&s z ExceptionRaisedContext.__enter__cGs$|jj|Ž|jjot|jj|jƒSr)rrÚtypeÚ issubclassr)rrr r r Ú__exit__*s   ÿzExceptionRaisedContext.__exit__N)rrrrÚ Exceptionrrrr r r r rs   rc@s eZdZdd„Zdd„ZeZdS)rcGs|st ¡}|\|_|_}dSr)ÚsysrrÚvalue)rÚinfoÚ_r r r r2szExceptionInfo.__init__cCs t|jƒS)z6 Return True if an exception occurred )Úboolrrr r r Ú__bool__7s zExceptionInfo.__bool__N)rrrrr%Ú __nonzero__r r r r r1sr) r rrr r rrÚ RuntimeErrorrrrr r r r Ús