mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #13298 from hulu/sched-list-shadowing
modules.schedule: avoid shadowing built-in list type
This commit is contained in:
commit
8ee03a2af8
@ -17,6 +17,10 @@ __proxyenabled__ = ['*']
|
||||
import logging
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__func_alias__ = {
|
||||
'list_': 'list'
|
||||
}
|
||||
|
||||
SCHEDULE_CONF = [
|
||||
'function',
|
||||
'splay',
|
||||
@ -35,7 +39,7 @@ SCHEDULE_CONF = [
|
||||
]
|
||||
|
||||
|
||||
def list(show_all=False):
|
||||
def list_(show_all=False):
|
||||
'''
|
||||
List the jobs currently scheduled on the minion
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user