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

Commit 6fd9743c authored by Anthony King's avatar Anthony King
Browse files

py3: ota_from_target_files.py: fix logic that broke

Change-Id: I032097c463598d1246feb92c02567175a65f90fd
parent fc2297c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -152,7 +152,7 @@ OPTIONS.override_prop = False
def MostPopularKey(d, default):
  """Given a dict, return the key corresponding to the largest
  value.  Returns 'default' if the dict is empty."""
  x = list(d.items())
  x = [(v, k) for (k, v) in d.items()]
  if not x:
    return default
  x.sort()