mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
change variable name
This commit is contained in:
parent
dd2a188c05
commit
a260236942
1 changed files with 2 additions and 2 deletions
|
@ -259,10 +259,10 @@ def gen_locale(locale, **kwargs):
|
|||
locale_info = _split_locale(locale)
|
||||
|
||||
if on_debian or on_gentoo: # file-based search
|
||||
path = '/usr/share/i18n/SUPPORTED'
|
||||
search = '/usr/share/i18n/SUPPORTED'
|
||||
|
||||
def search_locale():
|
||||
return __salt__['file.search'](path,
|
||||
return __salt__['file.search'](search,
|
||||
'^{0}$'.format(locale),
|
||||
flags=re.MULTILINE)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue