[Commits] [wesnoth/wesnoth] 7fa294: All main WML tools: replaced tabs with spaces

GitHub noreply at github.com
Tue Aug 11 17:43:04 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7fa294368329659df16f9fa8c28b46fc1327db34
      https://github.com/wesnoth/wesnoth/commit/7fa294368329659df16f9fa8c28b46fc1327db34
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2015-08-11 (Tue, 11 Aug 2015)

  Changed paths:
    M data/tools/wesnoth/wmliterator.py
    M data/tools/wesnoth/wmltools.py
    M data/tools/wmlindent
    M data/tools/wmllint
    M data/tools/wmlscope

  Log Message:
  -----------
  All main WML tools: replaced tabs with spaces


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

  Changed paths:
    M data/tools/wmllint

  Log Message:
  -----------
  wmllint: replaced map and string.strip with list comprehension

string.strip() isn't available on Python 3, because of its redundancy with the .strip() method available on any string.


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

  Changed paths:
    M data/tools/wmllint

  Log Message:
  -----------
  wmllint: replaced backticks with repr()

Backticks as shortcut for repr() are removed from Python 3. Although all their usages were already commented out, I fixed it anyway in case the code is uncommented.


Compare: https://github.com/wesnoth/wesnoth/compare/ad881b5d0b5f...f099638b2684


More information about the Commits mailing list