View file File name : update.pyc Content :� Afc @ so d d l Z d d l Z d d l Z d Z e j e � Z d d d � � YZ d � Z e d k rk e � n d S( i����Ns ^([^: ]+):([1-9][0-9]*):t FileObjc B s# e Z d � Z d � Z d � Z RS( c C sk | | _ d | _ y t | d � j � | _ Wn* t k rZ } d | G| GHd | _ d SXd G| j GHd S( Ni t rs *** Can't open "%s":t diffing( t filenamet changedt opent readlinest linest IOErrort None( t selfR t msg( ( s+ /usr/lib64/python2.7/Demo/scripts/update.pyt __init__ s c C s� | j s d G| j GHd Sy0 t j | j | j d � t | j d � } Wn- t j t f k rx } d | j G| GHd SXd G| j GHx | j D] } | j | � q� W| j � d | _ d S( Ns no changes tot ~t ws *** Can't rewrite "%s":t writingi ( R R t ost renameR t errorR R t writet close( R t fpR t line( ( s+ /usr/lib64/python2.7/Demo/scripts/update.pyt finish s c C s� | j d k r'