Skip to content

Commit

Permalink
Replace monty.os.path.which with shutil.which
Browse files Browse the repository at this point in the history
The `which` function of the `monty.os.path.which` module was deprecated some
time ago. Here we replace it with the `shutil.which` function, which has been
added since Python v3.3
  • Loading branch information
mbercx committed Aug 18, 2023
1 parent 467a644 commit 90891c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abipy/gui/awx/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import wx

from monty.os.path import which
from shutil import which
from monty.string import is_string


Expand Down

0 comments on commit 90891c5

Please sign in to comment.