fix: modification to fix #1 issue

This commit is contained in:
cr0hn
2016-03-18 14:10:21 +01:00
parent 4e9b07fad2
commit 44c38958aa

View File

@@ -80,6 +80,7 @@ def _decode_object(val, ident=5):
"""
_new_ident = ident + 1
try:
for k, v in six.iteritems(val):
# convert value to original type -> JSON
try:
@@ -162,6 +163,11 @@ def _decode_object(val, ident=5):
# Transform is not possible -> plain string
log.error('%s"%s": "%s"' % ((" " * ident), k, use_obj))
except AttributeError:
# Transform is not possible -> plain string
log.error('%s"%s": "%s"' % ((" " * ident), k, use_obj))
# ----------------------------------------------------------------------
def action_redis_dump(config):