[wesnoth-commits] [wesnoth/wesnoth] e7e3ae: Refactor the woptipng script

Steve Cotton noreply at github.com
Wed May 12 14:04:55 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e7e3ae76d82986b1e0b96cb8d6a62d0f705394bb
      https://github.com/wesnoth/wesnoth/commit/e7e3ae76d82986b1e0b96cb8d6a62d0f705394bb
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M utils/woptipng.py

  Log Message:
  -----------
  Refactor the woptipng script

If a tool made the image bigger, the debug message was the same as if the tool
had made the image's pixel change. Clarify that into two separate messages.

As each verify_images() call checks that the file became smaller, the removed
print statement would never be reached.





More information about the Commits mailing list