summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2017-02-20 16:10:43 -0500
committerSteve Milner <smilner@redhat.com>2017-02-22 11:26:23 -0500
commit9a01b3a021fc457d917386c93e17ad34cefbdc92 (patch)
treee0d827b6ac61ef76c34cd63462a83d4e8ffe19cb /roles/lib_openshift/src
parentde8d10d8a6eb34c4f6821353345c7baadc1f3b60 (diff)
downloadopenshift-9a01b3a021fc457d917386c93e17ad34cefbdc92.tar.gz
openshift-9a01b3a021fc457d917386c93e17ad34cefbdc92.tar.bz2
openshift-9a01b3a021fc457d917386c93e17ad34cefbdc92.tar.xz
openshift-9a01b3a021fc457d917386c93e17ad34cefbdc92.zip
fix up ruamel.yaml/pyyaml no-member lint errors
Diffstat (limited to 'roles/lib_openshift/src')
-rw-r--r--roles/lib_openshift/src/class/oc_obj.py1
-rw-r--r--roles/lib_openshift/src/lib/deploymentconfig.py1
-rw-r--r--roles/lib_openshift/src/lib/secret.py1
3 files changed, 0 insertions, 3 deletions
diff --git a/roles/lib_openshift/src/class/oc_obj.py b/roles/lib_openshift/src/class/oc_obj.py
index 21129a50c..51d3ce996 100644
--- a/roles/lib_openshift/src/class/oc_obj.py
+++ b/roles/lib_openshift/src/class/oc_obj.py
@@ -77,7 +77,6 @@ class OCObject(OpenShiftCLI):
if objects['returncode'] != 0:
return objects
- # pylint: disable=no-member
data = None
if files:
data = Utils.get_resource_file(files[0], content_type)
diff --git a/roles/lib_openshift/src/lib/deploymentconfig.py b/roles/lib_openshift/src/lib/deploymentconfig.py
index f10c6bb8b..e37475ef5 100644
--- a/roles/lib_openshift/src/lib/deploymentconfig.py
+++ b/roles/lib_openshift/src/lib/deploymentconfig.py
@@ -68,7 +68,6 @@ spec:
super(DeploymentConfig, self).__init__(content=content)
- # pylint: disable=no-member
def add_env_value(self, key, value):
''' add key, value pair to env array '''
rval = False
diff --git a/roles/lib_openshift/src/lib/secret.py b/roles/lib_openshift/src/lib/secret.py
index 622290aa8..75c32e8b1 100644
--- a/roles/lib_openshift/src/lib/secret.py
+++ b/roles/lib_openshift/src/lib/secret.py
@@ -90,7 +90,6 @@ class Secret(Yedit):
def update_secret(self, key, value):
''' update a secret'''
- # pylint: disable=no-member
if key in self.secrets:
self.secrets[key] = value
else: