diff options
author | Steve Milner <smilner@redhat.com> | 2017-02-20 14:14:49 -0500 |
---|---|---|
committer | Steve Milner <smilner@redhat.com> | 2017-02-22 11:26:23 -0500 |
commit | 02a053bf0f3cdeb76753dfb37bb060eef18452d3 (patch) | |
tree | 74112fc6823b1e86b00a2902974b3892301e742e /roles/lib_openshift/src | |
parent | b718955622da88c875aa5814fd87bcb3f53599f6 (diff) | |
download | openshift-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.py | 2 |
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) |