Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Ñò
ZËMc
@ s– d Z d Z d d k Z d d k l Z d d k l Z h d d 6d d 6d d
6Z d d
„ Z d d d d d d d „ Z
d d d „ Z d „ Z d S( sF distutils.file_util
Utility functions for operating on single files.
s5 $Id: file_util.py 37828 2004-11-10 22:23:15Z loewis $iÿÿÿÿN( t DistutilsFileError( t logt copyings hard linkingt hards symbolically linkingt symi i c C sÊ d } d } zŒy t | d ƒ } Wn1 t i j
o" \ } } t d | | f ‚ n Xt i i | ƒ oI y t i | ƒ Wq² t i j
o" \ } } t d | | f ‚ q² Xn y t | d ƒ } Wn1 t i j
o" \ } } t d | | f ‚ n Xx› y | i | ƒ } Wn1 t i j
o" \ } } t d | | f ‚ n X| p Pn y | i | ƒ Wqü t i j
o" \ } } t d | | f ‚ qü Xqü Wd | o | i
ƒ n | o | i
ƒ n Xd S( s5 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.
t rbs could not open '%s': %ss could not delete '%s': %st wbs could not create '%s': %ss could not read from '%s': %ss could not write to '%s': %sN( t Nonet opent ost errorR t patht existst unlinkt readt writet close( t srct dstt buffer_sizet fsrct fdstt errnot errstrt buf( ( s) /usr/lib/python2.6/distutils/file_util.pyt _copy_file_contents sH
i i c C s d d k l } d d k l } l }
l } l } t i i | ƒ p t
d | ‚ n t i i | ƒ o+ | }
t i i | t i i
| ƒ ƒ } n t i i | ƒ }
| o, | | | ƒ o t i d | ƒ | d f Sy t | } Wn t j
o t d | ‚ n Xt i i
| ƒ t i i
| ƒ j o t i d | | |
ƒ n t i d | | | ƒ | o | d f St i d
j o_ d d k } y | i | | d | ƒ Wqøt i j
o# } t
d | | | d f ‚ qøXn| d
j oA t i i | ƒ o t i i | | ƒ p t i | | ƒ qønË | d j oA t i i | ƒ o t i i | | ƒ p t i | | ƒ qøn} t | | ƒ | p | oa t i | ƒ } | o" t i | | | | |
f ƒ n | o t i | | | | ƒ ƒ qøn | d f S( sá Copy a file 'src' to 'dst'. If 'dst' is a directory, then 'src' is
copied there with the same name; otherwise, it must be a filename. (If
the file exists, it will be ruthlessly clobbered.) If 'preserve_mode'
is true (the default), the file's mode (type and permission bits, or
whatever is analogous on the current platform) is copied. If
'preserve_times' is true (the default), the last-modified and
last-access times are copied as well. If 'update' is true, 'src' will
only be copied if 'dst' does not exist, or if 'dst' does exist but is
older than 'src'.
'link' allows you to make hard links (os.link) or symbolic links
(os.symlink) instead of copying: set it to "hard" or "sym"; if it is
None (the default), files are copied. Don't set 'link' on systems that
don't support it: 'copy_file()' doesn't check if hard or symbolic
linking is available.
Under Mac OS, uses the native file copy function in macostools; on
other systems, uses '_copy_file_contents()' to copy file contents.
Return a tuple (dest_name, copied): 'dest_name' is the actual name of
the output file, and 'copied' is true if the file was copied (or would
have been copied, if 'dry_run' true).
iÿÿÿÿ( t newer( t ST_ATIMEt ST_MTIMEt ST_MODEt S_IMODEs4 can't copy '%s': doesn't exist or not a regular files" not copying %s (output up-to-date)i s&