Lines Matching refs:source_dict
41 source_dict = {}
48 source_dict[key] = value
49 return source_dict
52 def insert_append_user_value(key, arr, source_dict): argument
53 if source_dict[key][1] and arr[3]:
54 if arr[3] not in source_dict[key][1]:
55 user_value = [source_dict[key][1], arr[3]]
56 source_dict[key][1] = ','.join(user_value)
57 elif source_dict[key][1] == " " and arr[3]:
58 source_dict[key][1] = arr[3]
61 def get_append_value(src, source_dict): argument
71 if key in source_dict.keys():
72 insert_append_user_value(key, arr, source_dict)
74 source_dict[key] = value
77 def append_group_by_lines(options, source_dict): argument
86 if key in source_dict.keys():
87 insert_append_user_value(key, arr, source_dict)
89 source_dict[key] = value
92 def append_group_by_files(options, source_dict): argument
95 get_append_value(src, source_dict)
100 source_dict = load_group_file_as_dict(source_f)
102 append_group_by_files(options, source_dict)
104 append_group_by_lines(options, source_dict)
105 for item in source_dict: