ansible/compat/: PEP8 compliancy (#24689)

- Make PEP8 compliant
This commit is contained in:
Dag Wieers 2017-05-18 09:36:11 +02:00 committed by John R Barker
parent ac27c54c2e
commit de907a8e36
4 changed files with 1 additions and 6 deletions

View file

@ -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
here. Then in the code we can simply import from compat in order to get what we want.
'''

View file

@ -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.
'''
# 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 sys

View file

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

View file

@ -14,9 +14,6 @@ lib/ansible/cli/galaxy.py
lib/ansible/cli/playbook.py
lib/ansible/cli/pull.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/executor/__init__.py
lib/ansible/executor/action_write_locks.py