From 6e019b83c2f82552704feb4d8ce18e0d3a19d75a Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 23 Sep 2019 13:42:05 +0200 Subject: use ArchiveArtifacts for all benchmark resources --- src/artifact.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/artifact.py') diff --git a/src/artifact.py b/src/artifact.py index 49530a3..010bc6b 100644 --- a/src/artifact.py +++ b/src/artifact.py @@ -124,6 +124,10 @@ class ArchiveArtifact(Artifact): if not location: location = os.path.join(self.basedir, "content") + # Check if we already provided the archive at location + if os.path.exists(location): + return + os.makedirs(location, exist_ok=True) # Extract archive -- cgit v1.2.3