mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Pylint fixes
This commit is contained in:
parent
59b804d230
commit
5a641ddc2a
@ -33,6 +33,11 @@ from salt.exceptions import CommandExecutionError
|
||||
__virtualname__ = 'status'
|
||||
__opts__ = {}
|
||||
|
||||
# Don't shadow built-in's.
|
||||
__func_alias__ = {
|
||||
'time_': 'time'
|
||||
}
|
||||
|
||||
|
||||
def __virtual__():
|
||||
if salt.utils.is_windows():
|
||||
@ -909,7 +914,7 @@ def ping_master(master):
|
||||
return result
|
||||
|
||||
|
||||
def time(format='%A, %d. %B %Y %I:%M%p'):
|
||||
def time_(format='%A, %d. %B %Y %I:%M%p'):
|
||||
'''
|
||||
.. versionadded:: 2016.3.0
|
||||
|
||||
|
@ -361,7 +361,7 @@ def present(
|
||||
|
||||
See the :mod:`salt.states.boto_cloudwatch_alarm` state for information
|
||||
about these attributes.
|
||||
|
||||
|
||||
If any alarm actions include ":self:" this will be replaced with the asg name.
|
||||
For example, alarm_actions reading "['scaling_policy:self:ScaleUp']" will
|
||||
map to the arn for this asg's scaling policy named "ScaleUp".
|
||||
|
Loading…
Reference in New Issue
Block a user