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
ZMc @sdZdZddkZddkZddkZddkZddkTddklZddk l Z l Z ddk l Z dfd YZeid Zd Zd ed dZdS(ssdistutils.filelist Provides the FileList class, used for poking about the filesystem and building lists of files. s:$Id: filelist.py 83648 2010-08-03 07:51:50Z ezio.melotti $iN(t*(t convert_path(tDistutilsTemplateErrortDistutilsInternalError(tlogtFileListcBseZdZdddZdZeidZdZ dZ dZ dZ dZ d Zd Zd dd d Zd dd dZRS(sA list of files built by on exploring the filesystem and filtered by applying various patterns to what we find there. Instance attributes: dir directory from which files will be taken -- only used if 'allfiles' not supplied to constructor files list of filenames currently being built/filtered/manipulated allfiles complete list of files under consideration (ie. without any filtering applied) cCsd|_g|_dS(N(tNonetallfilestfiles(tselftwarnt debug_print((s(/usr/lib/python2.6/distutils/filelist.pyt__init__"s cCs ||_dS(N(R(R R((s(/usr/lib/python2.6/distutils/filelist.pyt set_allfiles+scCst||_dS(N(tfindallR(R tdir((s(/usr/lib/python2.6/distutils/filelist.pyR.scCs$ddkl}|o |GHndS(s~Print 'msg' to stdout if the global DEBUG (taken from the DISTUTILS_DEBUG environment variable) flag is true. i(tDEBUGN(tdistutils.debugR(R tmsgR((s(/usr/lib/python2.6/distutils/filelist.pyR 1scCs|ii|dS(N(Rtappend(R titem((s(/usr/lib/python2.6/distutils/filelist.pyR;scCs|ii|dS(N(Rtextend(R titems((s(/usr/lib/python2.6/distutils/filelist.pyR>scCs\ttii|i}|ig|_x*|D]"}|iitii|q2WdS(N(tmaptostpathtsplitRtsortRtjoin(R tsortable_filest sort_tuple((s(/usr/lib/python2.6/distutils/filelist.pyRAs   cCs[xTtt|idddD]3}|i||i|djo|i|=q q WdS(Niii(trangetlenR(R ti((s(/usr/lib/python2.6/distutils/filelist.pytremove_duplicatesLs cCs)ti|}|d}d}}}|djo;t|djotd|ntt|d}n|djoKt|d jotd |nt|d}tt|d}nS|djo8t|djotd|nt|d}ntd|||||fS(Nitincludetexcludesglobal-includesglobal-excludeis&'%s' expects ...isrecursive-includesrecursive-excludeis,'%s' expects ...tgrafttprunes#'%s' expects a single sunknown action '%s'(R#R$sglobal-includesglobal-exclude(srecursive-includesrecursive-exclude(R%R&(tstringRRR RRR(R tlinetwordstactiontpatternsRt dir_pattern((s(/usr/lib/python2.6/distutils/filelist.pyt_parse_template_lineUs,     cCsF|i|\}}}}|djoY|idti|x|D]0}|i|ddptid|qIqIWn|djoY|idti|x|D]0}|i|ddptid|qqWn\|d jo]|id ti|x1|D]4}|i|dd ptid d |qqWn|djoY|idti|x|D]0}|i|dd ptid|qqWn|djof|id|ti|fx[|D]7}|i|d|ptid d||qqWn|djob|id|ti|fx|D]3}|i|d|ptid||q^q^Wn|djo?|id||idd|ptid|qBn^|djoC|id||idd|ptidd|qBnt d|dS( NR#sinclude tanchoris%warning: no files found matching '%s'R$sexclude s9warning: no previously-included files found matching '%s'sglobal-includesglobal-include is&warning: no files found matching '%s' sanywhere in distributionsglobal-excludesglobal-exclude sRwarning: no previously-included files matching '%s' found anywhere in distributionsrecursive-includesrecursive-include %s %stprefixsunder directory '%s'srecursive-excludesrecursive-exclude %s %ssNwarning: no previously-included files matching '%s' found under directory '%s'R%sgraft s+warning: no directories found matching '%s'R&sprune s)no previously-included directories found s matching '%s's'this cannot happen: invalid action '%s'( R-R R'Rtinclude_patternRR texclude_patternRR(R R(R*R+RR,tpattern((s(/usr/lib/python2.6/distutils/filelist.pytprocess_template_linezst                  iicCsd}t||||}|id|i|idjo|inxL|iD]A}|i|o+|id||ii|d}qWqWW|S(sSelect strings (presumably filenames) from 'self.files' that match 'pattern', a Unix-style wildcard (glob) pattern. Patterns are not quite the same as implemented by the 'fnmatch' module: '*' and '?' match non-special characters, where "special" is platform- dependent: slash on Unix; colon, slash, and backslash on DOS/Windows; and colon on Mac OS. If 'anchor' is true (the default), then the pattern match is more stringent: "*.py" will match "foo.py" but not "foo/bar.py". If 'anchor' is false, both of these will match. If 'prefix' is supplied, then only filenames starting with 'prefix' (itself a pattern) and ending with 'pattern', with anything in between them, will match. 'anchor' is ignored in this case. If 'is_regex' is true, 'anchor' and 'prefix' are ignored, and 'pattern' is assumed to be either a string containing a regex or a regex object -- no translation is done, the regex is just compiled and used as-is. Selected strings will be added to self.files. Return 1 if files are found. is%include_pattern: applying regex r'%s's adding iN( ttranslate_patternR R2RRRtsearchRR(R R2R.R/tis_regext files_foundt pattern_retname((s(/usr/lib/python2.6/distutils/filelist.pyR0s   cCsd}t||||}|id|ixjtt|idddD]I}|i|i|o,|id|i||i|=d}qOqOW|S(sRemove strings (presumably filenames) from 'files' that match 'pattern'. Other parameters are the same as for 'include_pattern()', above. The list 'self.files' is modified in place. Return 1 if files are found. is%exclude_pattern: applying regex r'%s'iis removing (R4R R2RR RR5(R R2R.R/R6R7R8R!((s(/usr/lib/python2.6/distutils/filelist.pyR1s    N(t__name__t __module__t__doc__RR R RtcurdirRR RRRR"R-R3R0R1(((s(/usr/lib/python2.6/distutils/filelist.pyRs     % P.cCsddkl}l}l}l}g}|g}|i}|i}x|o|}ti|} x| D]} |ti joti i || } n| } ti| } | |} || o|i| ql|| o||  o|| qlqlWqFW|S(s^Find all files under 'dir' and return the list of full filenames (relative to 'dir'). i(tST_MODEtS_ISREGtS_ISDIRtS_ISLNK( tstatR>R?R@RAtpopRRtlistdirR=RR(RR>R?R@RAtlisttstackRCtpushtnamesR9tfullnameRBtmode((s(/usr/lib/python2.6/distutils/filelist.pyRs*"      cCs(ti|}tidd|}|S(sTranslate a shell-like glob pattern to a regular expression; return a string containing the regex. Differs from 'fnmatch.translate()' in that '*' does not match "special characters" (which are platform-specific). s((?s$