File "file_util.cpython-33.pyc"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python33/lib64/python3.3/distutils/__pycache__/file_util.cpython-33.pyc
File size: 7.16 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit
f c @ s d Z d d l Z d d l m Z d d l m Z i d d 6d d 6d d 6Z d d d
Z d d d d d d d d Z d d d d Z
d d Z d S( uF distutils.file_util
Utility functions for operating on single files.
i N( u DistutilsFileError( u logu copyingu hard linkingu hardu symbolically linkingu symi i c N C s d } d } zy t | d } WnA t j k
re } z t d | | j f WYd d } ~ Xn Xt j j | r y t j | Wq t j k
r } z t d | | j f WYd d } ~ Xq Xn y t | d } WnA t j k
r&} z t d | | j f WYd d } ~ Xn Xx y | j | } WnA t j k
r} z t d | | j f WYd d } ~ Xn X| sPn y | j
| Wq*t j k
r} z t d | | j f WYd d } ~ Xq*Xq*Wd | r| j n | r
| j n Xd S( u5 Copy the file 'src' to 'dst'; both must be filenames. Any error
opening either file, reading from 'src', or writing to 'dst', raises
DistutilsFileError. Data is read/written in chunks of 'buffer_size'
bytes (default 16k). No attempt is made to handle anything apart from
regular files.
u rbu could not open '%s': %sNu could not delete '%s': %su wbu could not create '%s': %su could not read from '%s': %su could not write to '%s': %s( u Noneu openu osu erroru DistutilsFileErroru strerroru pathu existsu unlinku readu writeu close( u srcu dstu buffer_sizeu fsrcu fdstu eu buf( ( u8 /opt/alt/python33/lib64/python3.3/distutils/file_util.pyu _copy_file_contents sF ,,))0
u _copy_file_contentsi c C s d d l m } d d l m } m }
m } m } t j j | sW t
d | n t j j | r | }
t j j | t j j
| } n t j j | }
| r | | | r | d k r t j d | n | d f Sy t | } Wn"