From 9b4530d8e0be3aa96fd24cc3e7cab67257ff836d Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Wed, 29 Mar 2017 09:25:45 -0400 Subject: Fixing linting for spaces. --- roles/lib_openshift/library/oc_clusterrole.py | 8 ++++---- roles/lib_openshift/src/class/oc_clusterrole.py | 8 ++++---- roles/lib_openshift/src/test/unit/test_oc_clusterrole.py | 1 - 3 files changed, 8 insertions(+), 9 deletions(-) (limited to 'roles/lib_openshift') diff --git a/roles/lib_openshift/library/oc_clusterrole.py b/roles/lib_openshift/library/oc_clusterrole.py index 4a68841ce..b94137d30 100644 --- a/roles/lib_openshift/library/oc_clusterrole.py +++ b/roles/lib_openshift/library/oc_clusterrole.py @@ -1645,10 +1645,10 @@ class OCClusterRole(OpenShiftCLI): def run_ansible(params, check_mode): '''run the idempotent ansible code''' - oc_clusterrole = OCClusterRole(params['name'], - params['rules'], - params['kubeconfig'], - params['debug']) + oc_clusterrole = OCClusterRole(params['name'], + params['rules'], + params['kubeconfig'], + params['debug']) state = params['state'] diff --git a/roles/lib_openshift/src/class/oc_clusterrole.py b/roles/lib_openshift/src/class/oc_clusterrole.py index 0d8ed42ba..1d3d977db 100644 --- a/roles/lib_openshift/src/class/oc_clusterrole.py +++ b/roles/lib_openshift/src/class/oc_clusterrole.py @@ -82,10 +82,10 @@ class OCClusterRole(OpenShiftCLI): def run_ansible(params, check_mode): '''run the idempotent ansible code''' - oc_clusterrole = OCClusterRole(params['name'], - params['rules'], - params['kubeconfig'], - params['debug']) + oc_clusterrole = OCClusterRole(params['name'], + params['rules'], + params['kubeconfig'], + params['debug']) state = params['state'] diff --git a/roles/lib_openshift/src/test/unit/test_oc_clusterrole.py b/roles/lib_openshift/src/test/unit/test_oc_clusterrole.py index aa4518821..189f16bda 100755 --- a/roles/lib_openshift/src/test/unit/test_oc_clusterrole.py +++ b/roles/lib_openshift/src/test/unit/test_oc_clusterrole.py @@ -113,4 +113,3 @@ class OCClusterRoleTest(unittest.TestCase): mock.call(['oc', 'create', '-f', mock.ANY], None), mock.call(['oc', 'get', 'clusterrole', 'operations', '-o', 'json'], None), ]) - -- cgit v1.2.3