Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/DistUpgrade/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradePatcher.pyc

ó
¤Oc@sJddlZddlZddlZdefd„ƒYZdd„ZdS(iÿÿÿÿNt
PatchErrorcBseZdZRS(s  Error during the patch process (t__name__t
__module__t__doc__(((sB/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradePatcher.pyRscCsttdƒ\}}t|ƒjƒ}d}}|}xÑt|ƒD]Ã}	||krÆ|	jƒ}	|	jdƒrû|	d}	tj|	ddddƒ\}
}|r®tdƒ‚n|
jdƒ\}}
}t	j
||||d	dƒ\}}|||<qAn|	d
}|	d
 jdƒ\}}
}t|ƒ}|d8}|dkrP|d}nt|ƒ}|d
kr…|||5|}|d8}q|dkrš|}q|dkr³|||5qtd|	ƒ‚qA||krA|	dkrç|}q|d7}|j||	ƒqAqAWdj
|ƒ}|rZtjƒ}|j|ƒ|jƒ|krZtdƒ‚qZnt|dƒj|ƒtS(sš python implementation of enough "ed" to apply ed-style
        patches. Note that this patches in memory so its *not*
        suitable for big files
    iiss/tsept/tmaxsplitisflags for s// not supported yettcountiÿÿÿÿt,ttctatdsunknown command: '%s's.
s(the md5sum after patching is not correcttw(trangetopent	readlineststript
startswithtstringtrsplitRt	partitiontretsubntinttinserttjointhashlibtmd5tupdatet	hexdigesttwritetTrue(torigtedpatcht
result_md5sumtSTATE_EXPECT_COMMANDtSTATE_EXPECT_DATAt
orig_lineststarttendtstatetlinetsubstflagstregexpRtrepltnewRtcommandt	start_strtend_strtresultR((sB/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradePatcher.pytpatchsZ

!%





	
	

(RRRt	ExceptionRtNoneR4(((sB/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradePatcher.pyt<module>s