Current Path : /usr/local/lib/python2.5/distutils/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/python2.5/distutils/dir_util.pyo |
łň hRc @ sž d Z d Z d d k Z d d k Z d d k Td d k l Z l Z d d k l Z h a d d d d Z d d d d Z d d d d d d d Z d Z d d d Z d Z d S( sW distutils.dir_util Utility functions for manipulating directories and directory trees.s5 $Id: dir_util.py 39416 2005-08-26 15:20:46Z tim_one $i˙˙˙˙N( t *( t DistutilsFileErrort DistutilsInternalError( t logi˙ i c C sŔ t | t p t d | f n t i i | } g } t i i | p | d j o | Sn t i t i i | o | Sn t i i | \ } } | g } xO | oG | o@ t i i | o, t i i | \ } } | i d | qŹ Wxž | D]ś } t i i | | } t i i | } t i | o qn t i d | | pQ y t i | | i | WqŽt j o } t d | | d f qŽXn d t | <qW| S( s Create a directory and any missing ancestor directories. If the directory already exists (or if 'name' is the empty string, which means the current directory, which of course exists), then do nothing. Raise DistutilsFileError if unable to create some directory along the way (eg. some sub-path exists, but is a file rather than a directory). If 'verbose' is true, print a one-line summary of each mkdir to stdout. Return the list of directories actually created.s( mkpath: 'name' must be a string (got %r)t i s creating %ss could not create '%s': %si˙˙˙˙i ( t isinstancet StringTypesR t ost patht normpatht isdirt _path_createdt gett abspatht splitt insertt joinR t infot mkdirt appendt OSErrorR ( t namet modet verboset dry_runt created_dirst headt tailt tailst dt abs_headt exc( ( s. /usr/local/lib/python2.5/distutils/dir_util.pyt mkpath s>