diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-03-16 17:14:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-16 17:14:53 -0400 |
commit | 866e5bf8581b8468414b7b192537b616d78a42a3 (patch) | |
tree | 78b5c089052ada4cb7e0d8b89d9c8cd1d8af8c41 /roles/lib_openshift/src | |
parent | d7f70501e32e0fbaec5396c9435c6f78a331b180 (diff) | |
parent | b1b2ba969db769263eae85b6c69f4cd9197f155c (diff) | |
download | openshift-866e5bf8581b8468414b7b192537b616d78a42a3.tar.gz openshift-866e5bf8581b8468414b7b192537b616d78a42a3.tar.bz2 openshift-866e5bf8581b8468414b7b192537b616d78a42a3.tar.xz openshift-866e5bf8581b8468414b7b192537b616d78a42a3.zip |
Merge pull request #3683 from kwoodson/py35_scope_fix
Fixing variable naming for 35 scoping.
Diffstat (limited to 'roles/lib_openshift/src')
-rw-r--r-- | roles/lib_openshift/src/lib/base.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/lib_openshift/src/lib/base.py b/roles/lib_openshift/src/lib/base.py index 334542b97..132c586c9 100644 --- a/roles/lib_openshift/src/lib/base.py +++ b/roles/lib_openshift/src/lib/base.py @@ -283,9 +283,9 @@ class OpenShiftCLI(object): if output_type == 'json': try: rval['results'] = json.loads(stdout) - except ValueError as err: - if "No JSON object could be decoded" in err.args: - err = err.args + except ValueError as verr: + if "No JSON object could be decoded" in verr.args: + err = verr.args elif output_type == 'raw': rval['results'] = stdout |