mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #5228 from cvrebert/patch-4
bridge mod: add spaces after commas
This commit is contained in:
commit
4ebbc336c5
@ -208,8 +208,8 @@ def _os_dispatch(func, *args, **kwargs):
|
||||
'''
|
||||
Internal, dispatches functions by operating system
|
||||
'''
|
||||
_os_func = getattr(sys.modules[__name__],'_{0}_{1}'.
|
||||
format(__grains__['kernel'].lower(),func))
|
||||
_os_func = getattr(sys.modules[__name__], '_{0}_{1}'.
|
||||
format(__grains__['kernel'].lower(), func))
|
||||
if callable(_os_func):
|
||||
return _os_func(*args, **kwargs)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user