Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/Lib/commands.py

    r2 r388  
    1919 [Note:  it would be nice to add functions to interpret the exit status.]
    2020"""
     21from warnings import warnpy3k
     22warnpy3k("the commands module has been removed in Python 3.0; "
     23         "use the subprocess module instead", stacklevel=2)
     24del warnpy3k
    2125
    2226__all__ = ["getstatusoutput","getoutput","getstatus"]
     
    6468#
    6569def mk2arg(head, x):
    66     from warnings import warnpy3k
    67     warnpy3k("In 3.x, mk2arg has been removed.")
    6870    import os
    6971    return mkarg(os.path.join(head, x))
     
    7880#
    7981def mkarg(x):
    80     from warnings import warnpy3k
    81     warnpy3k("in 3.x, mkarg has been removed.")
    8282    if '\'' not in x:
    8383        return ' \'' + x + '\''
Note: See TracChangeset for help on using the changeset viewer.