Skip to content
Permalink
Browse files

Fix the string_to_dict method

Change-Id: Iefdb0fdaf1ed93707d562f434e1ad7e9ef6f0cc6
  • Loading branch information...
asyedham committed Jul 30, 2019
1 parent e85a560 commit 0e77bbef1a331f203612c69bcf2c4e9931a2b5e1
Showing with 1 addition and 1 deletion.
  1. +1 −1 browbeat/workloads/perfkit.py
@@ -44,7 +44,7 @@ def __init__(self, config, result_dir_ts):
def string_to_dict(self, string):
"""Function for converting "|" quoted hash data into python dictionary."""
dict_data = {}
split_data = '|,|'.split()
split_data = string.split('|,|')
split_data[0] = split_data[0][1:]
split_data[-1] = split_data[-1][:-1]
for item in split_data:

0 comments on commit 0e77bbe

Please sign in to comment.
You can’t perform that action at this time.