ansible/compat/: PEP8 compliancy (#24689)

- Make PEP8 compliant
pull/24692/head
Dag Wieers 8 years ago committed by John R Barker
parent ac27c54c2e
commit de907a8e36

@ -24,4 +24,3 @@ Compat library for ansible. This contains compatibility definitions for older p
When we need to import a module differently depending on python version, do it When we need to import a module differently depending on python version, do it
here. Then in the code we can simply import from compat in order to get what we want. here. Then in the code we can simply import from compat in order to get what we want.
''' '''

@ -24,7 +24,7 @@ Compat selectors library. Python-3.5 has this builtin. The selectors2
package exists on pypi to backport the functionality as far as python-2.6. package exists on pypi to backport the functionality as far as python-2.6.
''' '''
# The following makes it easier for us to script updates of the bundled code # The following makes it easier for us to script updates of the bundled code
_BUNDLED_METADATA = { "pypi_name": "selectors2", "version": "1.1.0" } _BUNDLED_METADATA = {"pypi_name": "selectors2", "version": "1.1.0"}
import os.path import os.path
import sys import sys

@ -37,4 +37,3 @@ except ImportError:
BUILTINS = 'builtins' BUILTINS = 'builtins'
else: else:
BUILTINS = '__builtin__' BUILTINS = '__builtin__'

@ -14,9 +14,6 @@ lib/ansible/cli/galaxy.py
lib/ansible/cli/playbook.py lib/ansible/cli/playbook.py
lib/ansible/cli/pull.py lib/ansible/cli/pull.py
lib/ansible/cli/vault.py lib/ansible/cli/vault.py
lib/ansible/compat/__init__.py
lib/ansible/compat/selectors/__init__.py
lib/ansible/compat/tests/__init__.py
lib/ansible/constants.py lib/ansible/constants.py
lib/ansible/executor/__init__.py lib/ansible/executor/__init__.py
lib/ansible/executor/action_write_locks.py lib/ansible/executor/action_write_locks.py

Loading…
Cancel
Save