Skip to content

Commit

Permalink
fix unused variable error
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Aug 21, 2024
1 parent e89176e commit a9fcdad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/srt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ jobs:
# the following can be used by developers to login to the github server in case of errors
# see https://github.com/marketplace/actions/debugging-with-tmate for further details
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
# - name: Setup tmate session
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
3 changes: 1 addition & 2 deletions scripts/lib/CIME/XML/env_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,7 @@ def _submit_single_job(self, case, job, dep_jobs=None, allow_fail=False,
return submitcmd
else:
logger.info("Submitting job script {}".format(submitcmd))
# output = run_cmd_no_fail(submitcmd, combine_output=True)
s, output, e = run_cmd(submitcmd, combine_output=True)
s, output, _ = run_cmd(submitcmd, combine_output=True)
jobid = self.get_job_id(output)
logger.info("Submitted job id is {}".format(jobid))
return jobid
Expand Down

0 comments on commit a9fcdad

Please sign in to comment.