| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/2843/cwd/usr/lib/python2.6/ |
Upload File : |
Ñò
ÈÉŽJc @ s, d Z d d k Z d d k Z d d k Z d d k l Z d d k Z d d d d d d d
d d d
g
Z d
e f d „ ƒ YZ y e
Wn e j
o
d Z
n Xd d „ Z
d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z e d d „ Z e d d „ Z d „ Z d „ Z d „ Z d S( s‰ Utility functions for copying files and directory trees.
XXX The functions here don't copy the resource fork or other metadata on Mac.
iÿÿÿÿN( t abspatht copyfileobjt copyfilet copymodet copystatt copyt copy2t copytreet movet rmtreet Errorc B s e Z RS( ( t __name__t
__module__( ( ( s /usr/lib/python2.6/shutil.pyR
s i i c C s2 x+ | i | ƒ } | p Pn | i | ƒ q d S( s= copy data from file-like object fsrc to file-like object fdstN( t readt write( t fsrct fdstt lengtht buf( ( s /usr/lib/python2.6/shutil.pyR s
c C s t t i d ƒ o2 y t i i | | ƒ SWqE t j
o t SXn t i i t i i | ƒ ƒ t i i t i i | ƒ ƒ j S( Nt samefile( t hasattrt ost pathR t OSErrort Falset normcaseR ( t srct dst( ( s /usr/lib/python2.6/shutil.pyt _samefile s
c C s” t | | ƒ o t d | | f ‚ n d } d } z/ t | d ƒ } t | d ƒ } t | | ƒ Wd | o | i ƒ n | o | i ƒ n Xd S( s Copy data from src to dsts `%s` and `%s` are the same filet rbt wbN( R R
t Nonet openR t close( R R R R ( ( s /usr/lib/python2.6/shutil.pyR , s c C sI t t d ƒ o5 t i | ƒ } t i | i ƒ } t i | | ƒ n d S( s Copy mode bits from src to dstt chmodN( R R t statt S_IMODEt st_modeR"