diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-03-16 13:14:04 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-03-16 13:14:04 -0400 |
commit | b1b2ba969db769263eae85b6c69f4cd9197f155c (patch) | |
tree | 0c622c2dc1a5bef6d57069672f699de8af41ecee /roles/lib_openshift/src | |
parent | 612599f514d9eb3e83072d8efa317fe8400546e4 (diff) | |
download | openshift-b1b2ba969db769263eae85b6c69f4cd9197f155c.tar.gz openshift-b1b2ba969db769263eae85b6c69f4cd9197f155c.tar.bz2 openshift-b1b2ba969db769263eae85b6c69f4cd9197f155c.tar.xz openshift-b1b2ba969db769263eae85b6c69f4cd9197f155c.zip |
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 |