Browse Source

Fixing linting for spaces.

Kenny Woodson 8 years ago
parent
commit
9b4530d8e0

+ 4 - 4
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']
 

+ 4 - 4
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']
 

+ 0 - 1
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),
         ])
-