Lines Matching refs:arr
43 arr = line.strip().split(":")
44 if arr:
45 key = arr[0]
46 passwd_gid_value = [arr[1], arr[2]]
47 value = [':'.join(passwd_gid_value), arr[3]]
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]]
57 elif source_dict[key][1] == " " and arr[3]:
58 source_dict[key][1] = arr[3]
64 arr = line.strip().split(":")
65 key = arr[0]
66 passwd_gid_value = [arr[1], arr[2]]
67 if len(arr) > 3:
68 value = [':'.join(passwd_gid_value), arr[3]]
72 insert_append_user_value(key, arr, source_dict)
79 arr = line.strip().split(":")
80 key = arr[0]
81 passwd_gid_value = [arr[1], arr[2]]
82 if len(arr) > 3:
83 value = [':'.join(passwd_gid_value), arr[3]]
87 insert_append_user_value(key, arr, source_dict)