constants: pep8 fix (#25735)
This commit is contained in:
parent
8ad464c4f5
commit
a51d64dfe3
2 changed files with 4 additions and 4 deletions
|
@ -30,12 +30,13 @@ config = ConfigManager()
|
||||||
for setting in config.data.get_settings():
|
for setting in config.data.get_settings():
|
||||||
vars()[setting.name] = setting.value
|
vars()[setting.name] = setting.value
|
||||||
|
|
||||||
|
|
||||||
def mk_boolean(value):
|
def mk_boolean(value):
|
||||||
''' moved '''
|
''' moved '''
|
||||||
return config.make_boolean(value)
|
return config.make_boolean(value)
|
||||||
|
|
||||||
|
|
||||||
### CONSTANTS ### yes, actual ones
|
# ### CONSTANTS ### yes, actual ones
|
||||||
|
|
||||||
BLACKLIST_EXTS = ('.pyc', '.pyo', '.swp', '.bak', '~', '.rpm', '.md', '.txt')
|
BLACKLIST_EXTS = ('.pyc', '.pyo', '.swp', '.bak', '~', '.rpm', '.md', '.txt')
|
||||||
BECOME_METHODS = ['sudo', 'su', 'pbrun', 'pfexec', 'doas', 'dzdo', 'ksu', 'runas', 'pmrun']
|
BECOME_METHODS = ['sudo', 'su', 'pbrun', 'pfexec', 'doas', 'dzdo', 'ksu', 'runas', 'pmrun']
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
hacking/conf2yaml.py
|
hacking/conf2yaml.py
|
||||||
lib/ansible/constants.py
|
|
||||||
lib/ansible/cli/config.py
|
lib/ansible/cli/config.py
|
||||||
lib/ansible/config/data.py
|
lib/ansible/config/data.py
|
||||||
lib/ansible/config/manager.py
|
lib/ansible/config/manager.py
|
||||||
|
|
Loading…
Reference in a new issue