ok

Mini Shell

Direktori : /proc/self/root/proc/thread-self/root/usr/lib64/python2.7/Demo/pdist/
Upload File :
Current File : //proc/self/root/proc/thread-self/root/usr/lib64/python2.7/Demo/pdist/makechangelog.pyo

�
V
�Qc@s�dZddlZddlZddlZddlZddlZd�Zejdd�Zidd6dd	6d
d6Z	d�Z
ejd
�Zd�Zd�Z
edkr�e�ndS(s<Turn a pile of RCS log output into ChangeLog file entries.

i����Nc
Cstjd}tj|d�\}}d}x)|D]!\}}tdkr2|}q2q2Wtj}g}xdt|�}|sPng}x)t||�}	|	s�Pn|j|	�q�|ri||t|�)qiqi|j	�|j
�x|D]}	t|	|�q�WdS(Nisp:ts-p(tsystargvtgetopttptstdintgetnextfilet
getnextrevtappendtlentsorttreverset	formatrev(
targstoptstprefixtotatftallrevstfiletrevstrev((s0/usr/lib64/python2.7/Demo/pdist/makechangelog.pytmain
s0

	


s"^date: ([0-9]+)/([0-9]+)/([0-9]+) s-([0-9]+):([0-9]+):([0-9]+);  author: ([^ ;]+)s+Guido van Rossum  <guido@cnri.reston.va.us>tguidosJack Jansen  <jack@cwi.nl>tjacks!Sjoerd Mullender  <sjoerd@cwi.nl>tsjoerdcCsh|\}}}}tj|�dkrdtjdddddd�}tjd�}tj|�rpt|}nttj|�dddg}|dtj	|d<tj
t|��}	tj|	�Gd	G|GHtj
|�}
d
||dg|
d*d}|}xZ|
D]R}
|dkrC|t|
�|krCHd|
Gd}n|
G|dt|
�}q	WHHndS(NiiiiiiiiRt*t:iHis	i����i@(t
parsedateprogtmatchtgroupt	authormapthas_keytmaptstringtatoittimettimezonetmktimettupletctimetsplitR	(RRtdatelineRtrevlinetlogtfieldstauthorttfieldstttwordstmaxcoltcoltword((s0/usr/lib64/python2.7/Demo/pdist/makechangelog.pyR0s.

"	s^Working file: (.*)$cCs�x�|j�}|sdStj|�dkrtjd�}xA|j�}|sVdS|d dkrjdS|d dkr@Pq@q@|SqdS(Niii
t=t-s
==========s
----------(treadlinetNonet	startprogRR(RtlineR((s0/usr/lib64/python2.7/Demo/pdist/makechangelog.pyRKscCs||j�}|j�}d}xK|j�}|s7Pn|d dkrKdS|d dkr_Pn||}q!||||fS(NRi
R6R7s
==========s
----------(R8R9(RRR,R+R-R;((s0/usr/lib64/python2.7/Demo/pdist/makechangelog.pyR\s
t__main__(t__doc__RR#treRR%RtcompileRR RR:RRt__name__(((s0/usr/lib64/python2.7/Demo/pdist/makechangelog.pyt<module>s&	

			

Zerion Mini Shell 1.0