]> git.eshelyaron.com Git - emacs.git/commit
Fix "Improve Python imports management commands"
authorMatthias Meulien <orontee@gmail.com>
Thu, 13 Jul 2023 20:47:01 +0000 (22:47 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 15 Jul 2023 08:24:34 +0000 (11:24 +0300)
commita047fb8494c203bd8f416e7ee9f77ad8dcb03631
tree1271321b3a5a40b2df9f18e93090321183bee6d2
parent300f9d23c13232cf20978aa619c3758ad49fa184
Fix "Improve Python imports management commands"

* lisp/progmodes/python.el (python--list-imports): Prefer to
use an exit status >1.
(python--list-imports-check-status): New function to check
status of Python script.
(python--do-isort): Fix wrong status check introduced with
6295d7abdd4.  (Bug#64406)
lisp/progmodes/python.el