From 63b7227d33933df83cb33a5b1a20270fa487b58d Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Wed, 1 Feb 2017 12:25:59 -0500 Subject: Fixing docs. --- roles/lib_openshift/src/class/oc_process.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'roles/lib_openshift/src/class/oc_process.py') diff --git a/roles/lib_openshift/src/class/oc_process.py b/roles/lib_openshift/src/class/oc_process.py index 7cc8ff082..d8e5015ed 100644 --- a/roles/lib_openshift/src/class/oc_process.py +++ b/roles/lib_openshift/src/class/oc_process.py @@ -1,4 +1,6 @@ # pylint: skip-file +# flake8: noqa + # pylint: disable=too-many-instance-attributes class Process(OpenShiftCLI): @@ -150,7 +152,6 @@ class Process(OpenShiftCLI): # the template's existence with the existence of the objects # it describes? - # Create it here api_rval = ocprocess.process() if api_rval['returncode'] != 0: @@ -179,4 +180,7 @@ class Process(OpenShiftCLI): return {"changed": update, "results": rval, "state": "present"} - return {"failed": True, "changed": False, "results": 'Unknown state passed ({0}). '.format(state), "state": "unknown") + return {"failed": True, + "changed": False, + "results": 'Unknown state passed ({0}). '.format(state), + "state": "unknown") -- cgit v1.2.3