[Commits] [wesnoth/wesnoth] 681d03: wmllint: removed an instance of deprecated dict.ha...

GitHub noreply at github.com
Sat Aug 15 12:58:27 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 681d033bcaa868797d0078d85a66f7d657fdb967
      https://github.com/wesnoth/wesnoth/commit/681d033bcaa868797d0078d85a66f7d657fdb967
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2015-08-15 (Sat, 15 Aug 2015)

  Changed paths:
    M data/tools/wmllint

  Log Message:
  -----------
  wmllint: removed an instance of deprecated dict.has_key()


  Commit: c5854e029957e7cf1aeb71d4296537f73713cf9e
      https://github.com/wesnoth/wesnoth/commit/c5854e029957e7cf1aeb71d4296537f73713cf9e
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2015-08-15 (Sat, 15 Aug 2015)

  Changed paths:
    M data/tools/wmllint

  Log Message:
  -----------
  wmllint: replaced a regexp check with a simpler function

>From my tests, it seems like performances are pretty much the same; but this function is way more readable and maintainable than a regexp.


Compare: https://github.com/wesnoth/wesnoth/compare/5c1047d3727f...c5854e029957


More information about the Commits mailing list