
    e                     <    d Z ddlmZ ddlmZ  G d d          ZdS )z)
Created on May 23, 2014.

@author: sean
    )jencode)Conflictc                       e Zd Z	 	 ddZdS )PackageMixinNmainFc
                    d                     ||||pdf          }
d                    | j        |
          }|||d}t          |          \  }}|r| j                            |||          }n=|	r| j                            |||          }n| j                            |||          }	 |                     |           n"# t          $ r}t          d          |d }~ww xY w|
                                S )N/ z{}/copy/package/{})to_ownerfrom_channel
to_channel)dataheaderszWFile conflict while copying! Try to use --replace or --update options for force copying)joinformatdomainr   sessionputpatchpost_check_responser   json)selfownerpackageversionbasenamer   
from_labelto_labelreplaceupdate	copy_pathurlpayloadr   r   resconflicts                    =lib/python3.11/site-packages/binstar_client/mixins/package.pycopyzPackageMixin.copy   s/    HHeWgx~2FGG	"))$+yAA'S[\\((g 	E,""3T7"CCCC 	E,$$StW$EECC,##CdG#DDC	y  %%%% 	y 	y 	yik kpxy	y xxzzs   -C 
C"CC")NNr   r   FF)__name__
__module____qualname__r(        r'   r   r      s.        59V[     r-   r   N)__doc__binstar_client.utilsr   binstar_client.errorsr   r   r,   r-   r'   <module>r1      sg     ) ( ( ( ( ( * * * * * *         r-   