Skip to content

Commit

Permalink
Don't shadow builtin reload()
Browse files Browse the repository at this point in the history
  • Loading branch information
terminalmage committed Apr 12, 2014
1 parent 8552655 commit 24887f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion salt/modules/openbsdservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
# Define the module's virtual name
__virtualname__ = 'service'

__func_alias__ = {
'reload_': 'reload'
}


def __virtual__():
'''
Expand Down Expand Up @@ -87,7 +91,7 @@ def status(name, sig=None):
return not __salt__['cmd.retcode'](cmd)


def reload(name):
def reload_(name):
'''
.. versionadded:: Helium
Expand Down

0 comments on commit 24887f0

Please sign in to comment.