AlkantarClanX12

Your IP : 18.116.12.7


Current Path : /usr/lib64/python2.7/Demo/pdist/
Upload File :
Current File : //usr/lib64/python2.7/Demo/pdist/makechangelog.pyc

�
Afc@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}xft|�}|sPng}x*t||�}	|	s�Pn|j|	�q�W|ri||t|�)qiqiW|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�}xB|j�}|sVdS|d dkrjdS|d dkr@Pq@q@W|SqWdS(Niii
t=t-s
==========s
----------(treadlinetNonet	startprogRR(RtlineR((s0/usr/lib64/python2.7/Demo/pdist/makechangelog.pyRKscCs}|j�}|j�}d}xL|j�}|s7Pn|d dkrKdS|d dkr_Pn||}q!W||||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&