Skip to content

Commit

Permalink
testing the effect of commenting out code
Browse files Browse the repository at this point in the history
  • Loading branch information
scrasmussen committed Sep 26, 2024
1 parent be04981 commit d0a87fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/local/utils/attach_plots_to_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ def add_images(images, outdir, pull):
if runcmd(f"cp {img} {imagedir}/.") is None:
raise Exception("Not all image files could be copied")

logger.debug("Pulling from github")
if runcmd(f"git pull origin HEAD:refs/{IMAGEREF}", outdir) is None:
raise Exception("Problem pulling form github")
# logger.debug("Pulling from github")
# if runcmd(f"git pull origin HEAD:refs/{IMAGEREF}", outdir) is None:
# raise Exception("Problem pulling form github")

logger.debug("Adding images to commit")
if runcmd(f"git add images_{pull}", outdir) is None:
Expand Down

0 comments on commit d0a87fe

Please sign in to comment.