File: //proc/self/root/lib64/python2.7/Tools/scripts/lfcr.pyc
�
{�fc           @   sM   d  Z  d d l Z d d l Z d d l Z d �  Z e d k rI e �  n  d S(   sF   Replace LF with CRLF in argument files.  Print names of changed files.i����Nc          C   s�   x� t  j d D]� }  t j j |  � r5 |  Gd GHq n  t |  d � j �  } d | k re |  Gd GHq n  t j d d | � } | | k r |  GHt |  d � } | j	 | � | j
 �  q q Wd  S(	   Ni   s
   Directory!t   rbt    s   Binary!s   
?
s   
t   wb(   t   syst   argvt   ost   patht   isdirt   opent   readt   ret   subt   writet   close(   t   filenamet   datat   newdatat   f(    (    s*   /usr/lib64/python2.7/Tools/scripts/lfcr.pyt   main   s    		
t   __main__(   t   __doc__R   R
   R   R   t   __name__(    (    (    s*   /usr/lib64/python2.7/Tools/scripts/lfcr.pyt   <module>   s   $