Lines Matching refs:arr
44 arr = line.strip().split(":")
45 if arr:
46 key = arr[0]
47 passwd_gid_value = [arr[1], arr[2]]
48 value = [':'.join(passwd_gid_value), arr[3]]
53 def insert_append_user_value(key, arr, source_dict): argument
54 if source_dict[key][1] and arr[3]:
55 if arr[3] not in source_dict[key][1]:
56 user_value = [source_dict[key][1], arr[3]]
58 elif source_dict[key][1] == " " and arr[3]:
59 source_dict[key][1] = arr[3]
65 arr = line.strip().split(":")
66 key = arr[0]
67 passwd_gid_value = [arr[1], arr[2]]
68 if len(arr) > 3:
69 value = [':'.join(passwd_gid_value), arr[3]]
73 insert_append_user_value(key, arr, source_dict)
80 arr = line.strip().split(":")
81 key = arr[0]
82 passwd_gid_value = [arr[1], arr[2]]
83 if len(arr) > 3:
84 value = [':'.join(passwd_gid_value), arr[3]]
88 insert_append_user_value(key, arr, source_dict)