aboutsummaryrefslogtreecommitdiff
path: root/src/artifact.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-02-22 13:02:03 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-02-27 22:56:09 +0100
commit84e7d30605aa4d7ba5d31717e4a334814df32bff (patch)
tree5b7cb9a6d2d2a4d789fef3fe62dae26dcafa892d /src/artifact.py
parent45984a6b6d9c32c00e00153b90e9208788981ab3 (diff)
downloadallocbench-84e7d30605aa4d7ba5d31717e4a334814df32bff.tar.gz
allocbench-84e7d30605aa4d7ba5d31717e4a334814df32bff.zip
don't raise Exeption again just pass it
Diffstat (limited to 'src/artifact.py')
-rw-r--r--src/artifact.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/artifact.py b/src/artifact.py
index a358446..eff80cf 100644
--- a/src/artifact.py
+++ b/src/artifact.py
@@ -83,7 +83,7 @@ class GitArtifact(Artifact):
run_cmd(["git", "fetch"], output_verbosity=1, cwd=self.repo)
except CalledProcessError as e:
print_error(f"Failed to update {self.name}")
- raise e
+ raise
worktree_cmd = ["git", "worktree", "add", location, checkout]
print_debug("create new worktree. By running: ", worktree_cmd,
@@ -92,7 +92,7 @@ class GitArtifact(Artifact):
run_cmd(worktree_cmd, output_verbosity=1, cwd=self.repo)
except CalledProcessError as e:
print_error(f"Failed to provide {self.name}")
- raise e
+ raise
submodule_init_cmd = [
"git", "submodule", "update", "--init", "--recursive"