Ñò i'dWc @sÏdZddkiiZddkiZddklZddklZddkl Z ddkl Z l Z l Z l Z lZddklZddklZd efd „ƒYZd efd „ƒYZdS( s:Transfer P5I checkpoint. Sub-class of the checkpoint classiÿÿÿÿN(tOrigin(t Publisher(tSource(tACTIONtCONTENTSt PURGE_HISTORYt APP_CALLBACKtINSTALL(t TransferIPS(tTransferIPSAttrt TransferP5IcBs)eZdZd„Zd„Zd„ZRS(sSubclass of the TransferIPS checkpoint to be used for IPS transfers using a p5i file. The input comes from the DOC. cCs,tt|ƒi|ƒg|_d|_dS(Nt use_existing(tsuperR t__init__t_p5i_lstt img_action(tselftname((s ../p5i.pyR .s cCs|ititdtƒ}|d}|ititdtƒ}|idƒ}|ititdtƒ}|di }yt i d|ƒ|_ Wn&t ij ot|dƒ‚nXt|ƒdjoJ|idƒ}|i|dtƒx%|D]}|i|dtƒqõWndS(Ntnot_found_is_erritlocations! does not have the correct formatt preferred(t get_childrenRt SOURCE_LABELtTrueRtPUBLISHER_LABELtpopRt ORIGIN_LABELtorigintp5itparseRt api_errorstInvalidP5IFilet Exceptiontlent_set_publisher_infotFalse(Rt soft_nodetsrc_listtsrctpub_listtpubt orig_listtp5i_file((s ../p5i.pyt _parse_src3s(     cCsytƒ}xE|iD]:}|\}}t|t<||ts(4