message: lestarch: fixing python format for new profile processor
diff: @@ -16,13 +16,23 @@ for stamp, stage, token, module in lines:
  elif stage == "STOP":
  accum, count, min_delta, max_delta, hits = totals[token]
  delta = stamp - lasts[token]
  - totals[token] = (accum + delta, count + 1, min(delta, min_delta), max(delta, max_delta), hits + [(delta, module)])
  + totals[token] = (
  + accum + delta,
  + count + 1,
  + min(delta, min_delta),
  + max(delta, max_delta),
  + hits + [(delta, module)],
  + )
  for token, pair in totals.items():
  accum, count, min_delta, max_delta, hits = totals[token]
  if count == 0:
  continue
  - print("{} {:.6f} ({:.6f}, {:.6f}, {:.6f}) {}".format(token, accum, min_delta, accum/count, max_delta, hits[int(count/2)][0]))
  + print(
  + "{} {:.6f} ({:.6f}, {:.6f}, {:.6f}) {}".format(
  + token, accum, min_delta, accum / count, max_delta, hits[int(count / 2)][0]
  + )
  + )
  hist = {index: (0, []) for index in range(0, 1000)}
  for item, module in hits:
  index = int(int(item * 1000) / 10) * 10
  @@ -33,5 +43,11 @@ for token, pair in totals.items():
  count, members = pair
  random.shuffle(members)
  if count != 0:
  - print(" {:3} ms: {:4} -- {}".format(index, count, " ".join(members[:MEMBER_SIZES]) + ("" if len(members) <= MEMBER_SIZES else " ...")))
  -
  + print(
  + " {:3} ms: {:4} -- {}".format(
  + index,
  + count,
  + " ".join(members[:MEMBER_SIZES])
  + + ("" if len(members) <= MEMBER_SIZES else " ..."),
  + )
  + )
  