summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2016-08-25 07:51:12 -0700
committerTim Bielawa <tbielawa@redhat.com>2016-08-25 07:51:12 -0700
commitbc8d467ff4f2e722d3dfd55c9a83d31ba271289b (patch)
treebb2bbf223f1cd581c3787d428f2e44da35444e0c
parentd08a872a0392c100e86eed41f5d5372d226538c0 (diff)
downloadopenshift-bc8d467ff4f2e722d3dfd55c9a83d31ba271289b.tar.gz
openshift-bc8d467ff4f2e722d3dfd55c9a83d31ba271289b.tar.bz2
openshift-bc8d467ff4f2e722d3dfd55c9a83d31ba271289b.tar.xz
openshift-bc8d467ff4f2e722d3dfd55c9a83d31ba271289b.zip
Fix PEP8 in facts_callback.py
-rw-r--r--utils/src/ooinstall/ansible_plugins/facts_callback.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/utils/src/ooinstall/ansible_plugins/facts_callback.py b/utils/src/ooinstall/ansible_plugins/facts_callback.py
index 2537a099f..e51890a22 100644
--- a/utils/src/ooinstall/ansible_plugins/facts_callback.py
+++ b/utils/src/ooinstall/ansible_plugins/facts_callback.py
@@ -6,6 +6,7 @@ import os
import yaml
from ansible.plugins.callback import CallbackBase
+
# pylint: disable=super-init-not-called
class CallbackModule(CallbackBase):
@@ -19,9 +20,9 @@ class CallbackModule(CallbackBase):
self.hosts_yaml_name = os.environ['OO_INSTALL_CALLBACK_FACTS_YAML']
except KeyError:
raise ValueError('The OO_INSTALL_CALLBACK_FACTS_YAML environment '
- 'variable must be set.')
+ 'variable must be set.')
self.hosts_yaml = os.open(self.hosts_yaml_name, os.O_CREAT |
- os.O_WRONLY)
+ os.O_WRONLY)
def v2_on_any(self, *args, **kwargs):
pass
@@ -72,9 +73,9 @@ class CallbackModule(CallbackBase):
def v2_playbook_on_task_start(self, name, is_conditional):
pass
- #pylint: disable=too-many-arguments
+ # pylint: disable=too-many-arguments
def v2_playbook_on_vars_prompt(self, varname, private=True, prompt=None,
- encrypt=None, confirm=False, salt_size=None, salt=None, default=None):
+ encrypt=None, confirm=False, salt_size=None, salt=None, default=None):
pass
def v2_playbook_on_setup(self):