summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-03-16 13:14:04 -0400
committerKenny Woodson <kwoodson@redhat.com>2017-03-16 13:14:04 -0400
commitb1b2ba969db769263eae85b6c69f4cd9197f155c (patch)
tree0c622c2dc1a5bef6d57069672f699de8af41ecee /roles/lib_openshift/src
parent612599f514d9eb3e83072d8efa317fe8400546e4 (diff)
downloadopenshift-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.py6
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