[GRASS-git] [OSGeo/grass] 584455: wxGUI: Fix SIM115: Use context managers for file o...

Arohan Ajit noreply at github.com
Mon Mar 31 18:13:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 584455a963d98f39dad9ed50f1e3d280fe8d1ecf
      https://github.com/OSGeo/grass/commit/584455a963d98f39dad9ed50f1e3d280fe8d1ecf
  Author: Arohan Ajit <arohanajit232 at gmail.com>
  Date:   2025-04-01 (Tue, 01 Apr 2025)

  Changed paths:
    M gui/wxpython/photo2image/ip2i_manager.py
    M pyproject.toml

  Log Message:
  -----------
  wxGUI: Fix SIM115: Use context managers for file operations in photo2image (#5463)

* added context manager

* Update gui/wxpython/photo2image/ip2i_manager.py

Co-authored-by: Edouard Choinière <27212526+echoix at users.noreply.github.com>

* update

* updates

* Remove leftover f.close()

---------

Co-authored-by: Edouard Choinière <27212526+echoix at users.noreply.github.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list