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 @sSdZdZddkZddkZddkZddkTddkZddkTdZei deZ ei deefZ ei dd Z d fd YZd Zei eid eeiZdZdZdfdYZedjoKdZx>ddddfD]*ZdeGHeieeedGHHqWndS(s6distutils.fancy_getopt Wrapper around the standard getopt module that provides the following additional features: * short and long options are tied together * options have help strings, so fancy_getopt could potentially create a complete usage summary * options set attributes of a passed-in object sB$Id: fancy_getopt.py 60923 2008-02-21 18:18:37Z guido.van.rossum $iN(t*s[a-zA-Z](?:[a-zA-Z0-9-]*)s^%s$s ^(%s)=!(%s)$t-t_t FancyGetoptcBseZdZddZdZdZdddZdZdZ dZ dZ d Z d Z ddd Zd Zdd ZdddZRS(sWrapper around the standard 'getopt()' module that provides some handy extra functionality: * short and long options are tied together * options have help strings, and help text can be assembled from them * options set attributes of a passed-in object * boolean options can have "negative aliases" -- eg. if --quiet is the "negative alias" of --verbose, then "--quiet" on the command line sets 'verbose' to false cCsv||_h|_|io|inh|_h|_g|_g|_h|_h|_h|_ g|_ dS(N( t option_tablet option_indext _build_indextaliastnegative_aliast short_optst long_optst short2longt attr_namet takes_argt option_order(tselfR((s,/usr/lib/python2.6/distutils/fancy_getopt.pyt__init__.s          cCs6|iix"|iD]}||i|d= 2is:invalid short option '%s': must a single character or Noneit=t:s>invalid negative alias '%s': aliased option '%s' takes a valuesginvalid alias '%s': inconsistent with aliased option '%s' (one of them takes a value, the other doesn'tsinvalid long option name '%s' s'(must be letters, numbers, hyphens onlyN(R R R RtrepeatRtlent ValueErrorRt StringTypeRtNoneRR RtgetRt longopt_retmatchRR (RRtlongtshortthelpR+talias_to((s,/usr/lib/python2.6/distutils/fancy_getopt.pyt_grok_option_tablesf      &  &       c Cs-|djotid}n|djot}d}nd}|iti|i}y"ti|||i \}}Wn!ti j o}t |nXxj|D]b\}}t |djo&|ddjo|i |d}n6t |djo|d djpt|d}|ii|} | o | }n|i|pJ|djp td|ii|} | o| }d}qd}n|i|} |o3|ii| dj ot|| dd}nt|| ||ii||fqW|o ||fS|SdS( sParse command-line options in args. Store as attributes on object. If 'args' is None or not supplied, uses 'sys.argv[1:]'. If 'object' is None or not supplied, creates a new OptionDummy object, stores option values there, and returns a tuple (args, object). If 'object' is supplied, it is modified in place and 'getopt()' just returns 'args'; in both cases, the returned 'args' is a modified copy of the passed-in 'args' list, which is left untouched. iiiRs--tsboolean option can't have valueN(R/tsystargvt OptionDummyR7RtjoinR tgetoptR terrortDistutilsArgErrorR,R R!RR0R RR R+tgetattrtsetattrRR( Rtargstobjecttcreated_objectR toptstmsgR%tvalRtattr((s,/usr/lib/python2.6/distutils/fancy_getopt.pyR=sH     " $+       cCs(|idjo tdn|iSdS(sReturns the list of (option, value) tuples processed by the previous run of 'getopt()'. Raises RuntimeError if 'getopt()' hasn't been called yet. s!'getopt()' hasn't been called yetN(RR/t RuntimeError(R((s,/usr/lib/python2.6/distutils/fancy_getopt.pytget_option_order+s c Csd}x|iD]w}|d}|d}t|}|ddjo|d}n|dj o|d}n||jo |}qqW|ddd}d}||} d|} |o |g} n d g} x|iD] }|d \}}} t| | } |ddjo|dd!}n|djoD| o"| id ||| dfq| id ||fnKd ||f}| o"| id ||| dfn| id|x#| dD]}| i| |qWqW| S(sGenerate help text (a list of strings, one per suggested line of output) from the option table for this FancyGetopt object. iiiR)iiiNt sOption summary:is --%-*s %ss --%-*s s%s (-%s)s --%-*sN(RR,R/t wrap_textR(Rtheadertmax_optRR3R4tlt opt_widtht line_widtht text_widtht big_indenttlinesR5ttextt opt_names((s,/usr/lib/python2.6/distutils/fancy_getopt.pyt generate_help6sL            "  cCsI|djo ti}nx(|i|D]}|i|dq*WdS(Ns (R/R9tstdoutRWtwrite(RRMtfiletline((s,/usr/lib/python2.6/distutils/fancy_getopt.pyt print_helps   N(t__name__t __module__t__doc__R/RRRRRRR&R'R(R7R=RJRWR\(((s,/usr/lib/python2.6/distutils/fancy_getopt.pyR"s  ,      X@ TcCs)t|}|i||i||S(N(RR(R=(toptionst negative_optRCRBtparser((s,/usr/lib/python2.6/distutils/fancy_getopt.pyt fancy_getopts  RKcCs|djogSt||jo|gSti|}ti|t}tid|}td|}g}x|o g}d}x{|ost|d}|||jo&|i |d|d=||}q|o |dddjo |d=nPqW|o_|djo.|i |dd|!|d||d [string] Split 'text' into multiple lines of no more than 'width' characters each, and return the list of strings that results. s( +|-+)iiRKR8N( R/R,Rt expandtabsRtWS_TRANStretsplittfilterRR<(RUtwidthtchunksRTtcur_linetcur_lenRO((s,/usr/lib/python2.6/distutils/fancy_getopt.pyRLs>   cCsti|tS(sXConvert a long option name to a valid Python identifier by changing "-" to "_". (RRR(R%((s,/usr/lib/python2.6/distutils/fancy_getopt.pyttranslate_longoptsR;cBseZdZgdZRS(s_Dummy class just used as a place to hold command-line option values as instance attributes.cCs%x|D]}t||dqWdS(skCreate a new OptionDummy instance. The attributes listed in 'options' will be initialized to None.N(RAR/(RR`R%((s,/usr/lib/python2.6/distutils/fancy_getopt.pyRs(R]R^R_R(((s,/usr/lib/python2.6/distutils/fancy_getopt.pyR;st__main__sTra-la-la, supercalifragilisticexpialidocious. How *do* you spell that odd word, anyways? (Someone ask Mary -- she'll know [or she'll say, "How should I know?"].)i iii(s width: %ds (R_t __revision__R9RRfttypesR=tdistutils.errorst longopt_pattcompileR1t neg_alias_ret maketransRRRct whitespaceR,ReRLRmR;R]RUtwR<(((s,/usr/lib/python2.6/distutils/fancy_getopt.pyt s.$   r " =