constants: pep8 fix (#25735)

This commit is contained in:
René Moser 2017-06-15 13:40:06 +02:00 committed by GitHub
parent 8ad464c4f5
commit a51d64dfe3
2 changed files with 4 additions and 4 deletions

View file

@ -30,12 +30,13 @@ config = ConfigManager()
for setting in config.data.get_settings():
vars()[setting.name] = setting.value
def mk_boolean(value):
''' moved '''
return config.make_boolean(value)
### CONSTANTS ### yes, actual ones
# ### CONSTANTS ### yes, actual ones
BLACKLIST_EXTS = ('.pyc', '.pyo', '.swp', '.bak', '~', '.rpm', '.md', '.txt')
BECOME_METHODS = ['sudo', 'su', 'pbrun', 'pfexec', 'doas', 'dzdo', 'ksu', 'runas', 'pmrun']

View file

@ -1,5 +1,4 @@
hacking/conf2yaml.py
lib/ansible/constants.py
lib/ansible/cli/config.py
lib/ansible/config/data.py
lib/ansible/config/manager.py