Skip to content

Commit

Permalink
shutils should be shutil
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Dec 17, 2024
1 parent 7092e27 commit 380a930
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CIME/Tools/code_checker
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ from CIME.code_checker import check_code, expect
import argparse, sys, os

# pylint: disable=import-error
from shutils import which
from shutil import which

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion CIME/Tools/xmlconvertors/config_pes_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from CIME import utils
from CIME.Tools.standard_script_setup import *
from CIME.utils import run_cmd
from shutils import which
from shutil import which
import xml.etree.ElementTree as ET
import grid_xml_converter

Expand Down
2 changes: 1 addition & 1 deletion CIME/Tools/xmlconvertors/grid_xml_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from CIME import utils
from CIME.Tools.standard_script_setup import *
from CIME.utils import run_cmd_no_fail
from shutils import which
from shutil import which
import xml.etree.ElementTree as ET
import operator

Expand Down

0 comments on commit 380a930

Please sign in to comment.