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

Vaclav Petras noreply at github.com
Thu Nov 26 03:31:43 PST 2020


  Branch: refs/heads/releasebranch_7_8
  Home:   https://github.com/OSGeo/grass
  Commit: be43473638d78a5cb2def8c770789833b2c81408
      https://github.com/OSGeo/grass/commit/be43473638d78a5cb2def8c770789833b2c81408
  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