[GRASS-git] [OSGeo/grass] edc87a: v.db.addtable: Use context manager for devnull to ...
Edouard Choinière
noreply at github.com
Mon Aug 11 15:59:44 PDT 2025
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: edc87a4920570efe1d80b06033a435fc2f419d8f
https://github.com/OSGeo/grass/commit/edc87a4920570efe1d80b06033a435fc2f419d8f
Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
Date: 2025-08-11 (Mon, 11 Aug 2025)
Changed paths:
M scripts/v.db.addtable/v.db.addtable.py
Log Message:
-----------
v.db.addtable: Use context manager for devnull to solve ResourceWarning (#6195)
The opened file object isn't one that shouldn't be closed, so a simple transformation to use a context manager is appropriate.
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