File: //proc/self/root/proc/2/cwd/usr/lib/python2.4/Tools/scripts/fixheader.pyc
mò
‚=5Dc @ s7 d k Z d „ Z d „ Z e d j o e ƒ n d S( Nc C s, t i d } x | D] } t | ƒ q Wd S( Ni ( t syst argvt argst filenamet process( R R ( ( t- /usr/lib/python2.4/Tools/scripts/fixheader.pyt main s
c C s§ y t | d ƒ } Wn9 t j
o- } t i i d | t | ƒ f ƒ d Sn X| i ƒ } | i ƒ | d d j o t i i d | ƒ d Sn y t | d ƒ } Wn9 t j
o- } t i i d | t | ƒ f ƒ d Sn Xt i i d | ƒ d } xL | D]D } t | ƒ d
j o! | i ƒ o | | i ƒ } q| d } qW| t _ d G| GHd
G| GHd GHd GHd GHH| i | ƒ Hd GHd GHd GHd Gd | Gd GHd S( Nt rs %s: can't open: %s
i s /*s! %s does not begin with C comment
t ws %s: can't write: %s
s Processing %s ...
t Py_i€ t _s #ifndefs #defines #ifdef __cpluspluss extern "C" {s #endift }s #endif /*t !s */( t openR t ft IOErrort msgR t stderrt writet strt readt datat closet magict ct ordt isalnumt uppert stdout( R R R R R R ( ( R R sF
t __main__( R R R t __name__( R R R ( ( R t ? s $