lineage: Add double quote in custom APN name check
* This fixes the case of have having APNs with same the name, such as: “Sprint EHRPD” "Sprint EHRPD ota" “Sprint EHRPD internet” * But we want to replace only “Sprint EHRPD”, not all matches. Change-Id: Ic3139c5d73a8c3c8667ac2bc527abc1a85541361
This commit is contained in:
parent
e741d463e9
commit
5f7f10de7b
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ def main(argv):
|
|||
for line in f:
|
||||
xmltree = parseString(line)
|
||||
carrier = xmltree.getElementsByTagName('apn')[0].getAttribute('carrier')
|
||||
custom_apn_names.append(carrier)
|
||||
custom_apn_names.append('"' + carrier + '"')
|
||||
|
||||
with open(original_file, 'r') as input_file:
|
||||
with open(output_file_path, 'w') as output_file:
|
||||
|
|
Loading…
Reference in a new issue