Searched refs:kv_list (Results 1 – 2 of 2) sorted by relevance
131 def _parse_key_value(kv_list): argument142 if len(kv_list) % 2 != 0:143 raise Exception('Invalid key/value pairs: %s' % kv_list)146 for i in xrange(len(kv_list) / 2):147 rv[kv_list[i*2]] = kv_list[i*2+1]