summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src
diff options
context:
space:
mode:
authorSteve Milner <smilner@redhat.com>2017-02-20 14:14:49 -0500
committerSteve Milner <smilner@redhat.com>2017-02-22 11:26:23 -0500
commit02a053bf0f3cdeb76753dfb37bb060eef18452d3 (patch)
tree74112fc6823b1e86b00a2902974b3892301e742e /roles/lib_openshift/src
parentb718955622da88c875aa5814fd87bcb3f53599f6 (diff)
downloadopenshift-02a053bf0f3cdeb76753dfb37bb060eef18452d3.tar.gz
openshift-02a053bf0f3cdeb76753dfb37bb060eef18452d3.tar.bz2
openshift-02a053bf0f3cdeb76753dfb37bb060eef18452d3.tar.xz
openshift-02a053bf0f3cdeb76753dfb37bb060eef18452d3.zip
Removed unrequired no-members from yedit and generated code
Diffstat (limited to 'roles/lib_openshift/src')
-rw-r--r--roles/lib_openshift/src/lib/base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/lib_openshift/src/lib/base.py b/roles/lib_openshift/src/lib/base.py
index 9cad5e667..fcbca4f2f 100644
--- a/roles/lib_openshift/src/lib/base.py
+++ b/roles/lib_openshift/src/lib/base.py
@@ -295,6 +295,7 @@ class Utils(object):
tmp = Utils.create_tmpfile(prefix=rname)
if ftype == 'yaml':
+ # AUDIT:no-member makes sense here due to ruamel.YAML/PyYAML usage
# pylint: disable=no-member
if hasattr(yaml, 'RoundTripDumper'):
Utils._write(tmp, yaml.dump(data, Dumper=yaml.RoundTripDumper))
@@ -382,6 +383,7 @@ class Utils(object):
contents = sfd.read()
if sfile_type == 'yaml':
+ # AUDIT:no-member makes sense here due to ruamel.YAML/PyYAML usage
# pylint: disable=no-member
if hasattr(yaml, 'RoundTripLoader'):
contents = yaml.load(contents, yaml.RoundTripLoader)