More lint and doc strings for test

This commit is contained in:
Mike Place 2014-08-07 11:32:55 -06:00
parent ab37e99b9d
commit fbbfb44642

View File

@ -435,8 +435,16 @@ def stack():
return ''.join(traceback.format_stack())
def tty(*args, **kwargs): #pylint: disable=W0613
def tty(*args, **kwargs): # pylint: disable=W0613
'''
Deprecated! Moved to cmdmod.
CLI Example:
.. code-block:: bash
salt '*' test.tty tty0 'This is a test'
salt '*' test.tty pts3 'This is a test'
'''
Deprecated. Moved to cmdmod.
'''
return 'ERROR: This function has been moved to cmd.tty'