File: //lib64/python2.7/Tools/scripts/crlf.pyo
�
{�fc           @   sA   d  Z  d d l Z d d l Z d �  Z e d k r= e �  n  d S(   sF   Replace CRLF with LF 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  | 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   replacet   writet   close(   t   filenamet   datat   newdatat   f(    (    s*   /usr/lib64/python2.7/Tools/scripts/crlf.pyt   main   s    		
t   __main__(   t   __doc__R   R   R   t   __name__(    (    (    s*   /usr/lib64/python2.7/Tools/scripts/crlf.pyt   <module>   s