[GRASS-git] [OSGeo/grass] e16272: wxGUI: Replace getchildren and getiterator from El...

Vaclav Petras noreply at github.com
Wed Nov 25 21:06:15 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: e16272143751e70e2b721c58e8bdb71ca37256dd
      https://github.com/OSGeo/grass/commit/e16272143751e70e2b721c58e8bdb71ca37256dd
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2020-11-26 (Thu, 26 Nov 2020)

  Changed paths:
    M gui/wxpython/core/toolboxes.py
    M gui/wxpython/core/workspace.py
    M gui/wxpython/tools/update_menudata.py

  Log Message:
  -----------
  wxGUI: Replace getchildren and getiterator from ElementTree (#1120)

Element.getchildren() and getiterator() are deprecated
since Python version 3.2 and removed in version 3.9.

Using simpler replacements list(), in, and iter().

Fixes #1119.




More information about the grass-commit mailing list