]> Savannah Git Hosting - gnulib.git/commit
gnulib-tool.py: Fix 'consider-using-with' pylint warnings.
authorCollin Funk <collin.funk1@gmail.com>
Fri, 5 Apr 2024 03:32:55 +0000 (20:32 -0700)
committerBruno Haible <bruno@clisp.org>
Fri, 5 Apr 2024 12:50:45 +0000 (14:50 +0200)
commit9dd17159496fd4254cc6de63bf9bcaecd03e1384
treec9250ee4e22f9688a7a5e033d69ec8deb2171c40
parent9ef347eaa383689f9be16d214b86a389d9dea848
gnulib-tool.py: Fix 'consider-using-with' pylint warnings.

* pygnulib/GLModuleSystem.py (GLModuleSystem.list): Use run() instead of
Popen() from the subprocess module. This function handles cleanup
internally instead of as a context manager via the 'with' statement.
ChangeLog
pygnulib/GLModuleSystem.py