Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f31a7814 authored by Kelvin Zhang's avatar Kelvin Zhang Committed by Automerger Merge Worker
Browse files

Merge "Simplify codes when _LoadOemDicts" am: ff35cbd1

Original change: https://android-review.googlesource.com/c/platform/build/+/2015235

Change-Id: Ib5914ee1fe6edc7710d998d196b8113bcc8ca65c
parents 4bcec72b ff35cbd1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -543,8 +543,7 @@ def _LoadOemDicts(oem_source):

  oem_dicts = []
  for oem_file in oem_source:
    with open(oem_file) as fp:
      oem_dicts.append(common.LoadDictionaryFromLines(fp.readlines()))
    oem_dicts.append(common.LoadDictionaryFromFile(oem_file))
  return oem_dicts