Skip to content

Commit

Permalink
Fix a couple remaining pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed Jul 19, 2016
1 parent 1516c3b commit de33082
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion utils/python/CIME/system_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def _create_newcase_phase(self, test):
create_newcase_cmd += " --user-mods-dir %s" % test_mod_file

if case_opts is not None:
for case_opt in case_opts:
for case_opt in case_opts: # pylint: disable=not-an-iterable
if case_opt.startswith('M'):
mpilib = case_opt[1:]
create_newcase_cmd += " --mpilib %s" % mpilib
Expand Down
2 changes: 2 additions & 0 deletions utils/python/compare_namelists.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from CIME.utils import expect
logger=logging.getLogger(__name__)

# pragma pylint: disable=unsubscriptable-object

###############################################################################
def parse_namelists(namelist_lines, filename):
###############################################################################
Expand Down

0 comments on commit de33082

Please sign in to comment.