mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
More lint and doc strings for test
This commit is contained in:
parent
ab37e99b9d
commit
fbbfb44642
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user