+
    Ci:%                         ^ RI H t ^ RIHt ^ RIHtHtHt ^ RIH	t	H
t
Ht ^ RIHt ^ RIHt ^ RIHt ^ RIHt R	tR
t]! ]4      P,                  ]! ]4      P,                  RR.tRR.t ! R R]	4      tR# )    )gettext)	Launchpad)NotFound
BadRequestUnauthorized)ShortcutHandlerShortcutExceptionInvalidShortcutException)SourcesListShortcutHandler)URIShortcutHandler)Deb822SourceEntry)urlparsez5https://ppa.launchpadcontent.net/{team}/{ppa}/ubuntu/z=https://private-ppa.launchpadcontent.net/{team}/{ppa}/ubuntu/zppa.launchpad.netzprivate-ppa.launchpad.netmain
main/debugc                      a a ] tR t^3t oRV 3R llt]R 4       t]R 4       t]R 4       t]R 4       t	]R 4       t
]R 4       tRV 3R lltV 3R	 ltR
 tR tR tR tR tRtVtV ;t# )PPAShortcutHandlerc                D  < \         \        V `
  ! V3R R/VB  V'       * V n        RV n        W0n        RV n        RV n        RV n        V P                  V4      '       gV   RV n
        \        V P                  V4      V P                  V4      34      '       g   \        R4      V,          p\        V4      hV P                   : RV P"                  : 2V n        V P'                  4        V P                  '       d    V P(                   V P,                  '       g   V P.                  pV'       g+   R.pV P(                  P0                  '       d   \3        R4       V P(                  P4                  '       d   \6        M\8        pVP;                  V P                   V P"                  R	7      p\=        RR
4      p	V P>                  .V	n         V.V	n!        V PD                  .V	n#        Win$        V PK                  \M        V	4      4       R# R#   \*         d    \        \        R4      4      hi ; i)deb822TNFz%ERROR: '%s' is not a valid ppa formatz-ubuntu-zERROR: Can't find ppar   zDPPA publishes dbgsym, you may need to include 'main/debug' component)teamppa )'superr   __init___lp_anon_signing_key_data_lp_lpteam_lpppa_is_sourceslist
_match_ppar   any
_match_uri_match_sourceslist_r
   teamnameppaname	_filebase	_set_authlpppar	   _source_entry
componentspublish_debug_symbolsprintprivatePRIVATE_PPA_URI_FORMATPPA_URI_FORMATformatr   binary_typetypesurisdistsuitescomps_set_source_entrystr)selfshortcutloginlpkwargsmsgr7   
uri_formaturientry	__class__s   &&&&,     8/usr/lib/python3/dist-packages/softwareproperties/ppa.pyr   PPAShortcutHandler.__init__4   s    $0Q$Q&Q!	!%$ x((  DK1//9; < <@AHL.s33+/==$,,G K

 !!!OOE::333`a 48::3E3E3E/>J##DLL#IC%dB/E++,EKEJ II;ELK""3u:.# " % K.q1H/IJJKs   8G? ? Hc                   V P                   '       gi   V P                  '       d   \        P                  pM\        P                  pV! V P
                  : R V P                  P                  : 2RRR7      V n         V P                   # ).
productiondevel)service_rootversion)r   r   r   login_anonymously
login_with
__module__rC   __name__)r:   
login_funcs   & rD   r=   PPAShortcutHandler.lph   s\    xxx}}}&88
&11
!T__dnn>U>U"V/;*13DH xx    c                z   V P                   '       g8    V P                  P                  V P                  4      V n         V P                   # V P                   #   \         d)    \        R 4      T P                  ,          p\        T4      h\         d)    \        R4      T P                  ,          p\        T4      hi ; i)z8ERROR: user/team '%s' not found (use --login if private)z"ERROR: invalid user/team name '%s')r   r=   peopler%   r   r$   r	   r   r:   r?   s   & rD   lpteamPPAShortcutHandler.lpteamt   s    |||-#ww~~dmm< ||t||  -STW[WdWdd',, -=>N',,-s   *A :B:)B:c                   V P                   '       g9    V P                  P                  V P                  R 7      V n         V P                   # V P                   #   \         d5    \        R4      T P                  T P                  3,          p\        T4      h\         d)    \        R4      T P                  ,          p\        T4      hi ; i))namez5ERROR: ppa '%s/%s' not found (use --login if private)zERROR: invalid ppa name '%s')	r   rV   getPPAByNamer&   r   r$   r%   r	   r   rU   s   & rD   r)   PPAShortcutHandler.lpppa   s    {{{-"kk66DLL6I {{t{{  -PQt||45',, -784<<G',,-s   +A AC)Cc                .    V P                   P                  # N)r)   descriptionr:   s   &rD   r^   PPAShortcutHandler.description   s    zz%%%rR   c                .    V P                   P                  # r]   )r)   web_linkr_   s   &rD   rb   PPAShortcutHandler.web_link   s    zz"""rR   c                   V P                   '       g   V P                  P                  4       pV P                  P                  pV'       g   \	        \        R 4      4       MnRV9   d   \	        \        R4      4       MRW P                  V4      9   g>   \        R4      VRP                  V P                  V4      4      3,          p\        V4      hWn         V P                   # )zHWarning: could not get PPA signing_key_fingerprint from LP, using anywayredactedzAPrivate PPA fingerprint redacted, using key anyway (LP: #1879781)z6Fingerprints do not match, not importing: '%s' != '%s',)	r   r)   getSigningKeyDatasigning_key_fingerprintr-   r$   fingerprintsjoinr	   )r:   keyfingerprintr?   s   &   rD   trustedparts_content'PPAShortcutHandler.trustedparts_content   s    %%%**..0C**<<Kabcd{*a[\] $5$5c$::QR#SXXd.?.?.D%EFG',,%("%%%rR   c                   < \         \        V `  VR 7      pWP                  8w  g   V P                  '       d   V# \        \        VP                  4      \        R.4      ,
          4      Vn        V# ))pkgtyper   )r   r   SourceEntrysource_typer+   listsetr7   )r:   rp   rB   rC   s   && rD   rq   PPAShortcutHandler.SourceEntry   sY    ($;G;L&&&$///L
 3u{{+c<..AABrR   c                  < \         \        V `  V4       \        V P	                  4       P
                  4      \        \        4      ,
          pV'       d-   \        \        R 4      RP                  V4      ,          4       R# R# )z*Warning: components '%s' not valid for PPA N)
r   r   r8   rt   rq   r7   PPA_VALID_COMPSr-   r$   rj   )r:   lineinvalid_compsrC   s   && rD   r8   $PPAShortcutHandler._set_source_entry   sZ     $9$?D,,.445O8LL!@ACHH]D[[\ rR   c                J   VP                  R 4      w  r#pVP                  4       R8X  g   R# VP                  R4      w  rSpVP                  R4      pRV9   d5   VP                  R4      w  rspVP                  4       R8w  d   R# RV9   d   R# WPn        T;'       g    RV n        R# ):r   F/~ubuntuT)
rpartitionlower	partitionlstripr%   r&   )r:   r;   prefixr$   r   r%   r&   r   s   &&      rD   r    PPAShortcutHandler._match_ppa   s    #..s3C||~&!$s!3g??3''>#*#4#4S#9 V||~)g~ ''%rR   c                \     V P                  \        V4      4      #   \         d     R # i ; i)F)_match_handlerr   r
   )r:   r;   s   &&rD   r"   PPAShortcutHandler._match_uri   s0    	&&'9('CDD' 		s    ++c                n     V P                  \        V4      4      pRT n        T#   \         d     R # i ; i)FT)r   r   r
   r   )r:   r;   handlers   && rD   r#   %PPAShortcutHandler._match_sourceslist   s@    	))*DX*NOG  $ ( 		s   % 44c                   \        VP                  4       P                  4      pVP                  \        9   g   R # VP
                  P                  4       P                  R4      P                  R4      p\        V4      ^8  d   R # V^ ,          V n	        V^,          V n
        VP                  V n        VP                  V n        V P                  VP                  4       P                   4       R# )Fr~   T)r   rq   rA   hostnamePPA_VALID_HOSTNAMESpathstripsplitlenr%   r&   username	_usernamepassword	_passwordr8   ry   )r:   r   parsedr   s   &&  rD   r   !PPAShortcutHandler._match_handler   s    '--/334"55{{  "((-33C8t9q=QAw )) ))w22499:rR   c                <   V P                   '       g   V P                  P                  '       g   R # V P                  '       d   V P                  '       d   R #  V P
                  P                  V P
                  P                  P                  4      pVP                  V P                  R7      p\        V4      pVP                  V n        VP                  V n        R #   \         d5    \        R4      T P                  T P                   3,          p\#        T4      hi ; i)N)archivezMCould not find PPA subscription for ppa:%s/%s, you may need to request access)r   r)   r.   r   r   r=   rT   merY   getArchiveSubscriptionURLr   r   r   r   r$   r%   r&   r	   )r:   r   urlr   r?   s   &    rD   r(   PPAShortcutHandler._set_auth   s    ===

 2 2 2>>>dnnn	-

0B..tzz.BC c]F#__DN#__DN  	)deMM4<<01C#C((	)s   AC ?D)r'   r   r   r   r   r   r   r   r   r   r&   r%   )FNr]   )rO   rN   __qualname____firstlineno__r   propertyr=   rV   r)   r^   rb   rm   rq   r8   r    r"   r#   r   r(   __static_attributes____classdictcell____classcell__)rC   __classdict__s   @@rD   r   r   3   s     2/h 	 	 
 
   & & # # & &"	]("- -rR   r   N)r   r$   launchpadlib.launchpadr   lazr.restfulclient.errorsr   r   r   "softwareproperties.shortcuthandlerr   r	   r
   softwareproperties.sourceslistr   softwareproperties.urir   aptsources.sourceslistr   urllib.parser   r0   r/   r   r   rx   r    rR   rD   <module>r      s~   . ! , J JJ J E 5 4 ! IX ^%%#$--  <(M- M-rR   