aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/PapiExecutor.py
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2018-12-17 09:56:43 +0100
committerJan Gelety <jgelety@cisco.com>2018-12-17 09:56:43 +0100
commit4f9509d2dae42c99f5a5ece8b730bc322d31c948 (patch)
treea7246339e574f4264a21382bc321b93849cef992 /resources/libraries/python/PapiExecutor.py
parentfbe1d6dfbcacd8f3b80449b0d910b60f850b5dcc (diff)
FIX: Update PAPI to work with string changes in Python API
Change-Id: I3b5f0568b5928cf12aaf2a555f52dd9809348579 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python/PapiExecutor.py')
-rw-r--r--resources/libraries/python/PapiExecutor.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/resources/libraries/python/PapiExecutor.py b/resources/libraries/python/PapiExecutor.py
index 6a47b9497f..75bdde0ddf 100644
--- a/resources/libraries/python/PapiExecutor.py
+++ b/resources/libraries/python/PapiExecutor.py
@@ -95,9 +95,10 @@ class PapiExecutor(object):
reply_value = dict()
for reply_key, reply_v in api_r.iteritems():
for a_k, a_v in reply_v.iteritems():
- value = binascii.unhexlify(a_v) if isinstance(a_v, unicode) \
- else a_v
- reply_value[a_k] = value
+ # value = binascii.unhexlify(a_v) if isinstance(a_v, unicode) \
+ # else a_v
+ # reply_value[a_k] = value
+ reply_value[a_k] = a_v
reply_dict[reply_key] = reply_value
return reply_dict