diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-09-23 13:42:05 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-09-23 13:42:05 +0200 |
| commit | 6e019b83c2f82552704feb4d8ce18e0d3a19d75a (patch) | |
| tree | b7eefc7446120c0424018b3b65c50835f7a9b617 /src/artifact.py | |
| parent | cac85412d757b6054436dc9c63d30db645bc93ea (diff) | |
| download | allocbench-6e019b83c2f82552704feb4d8ce18e0d3a19d75a.tar.gz allocbench-6e019b83c2f82552704feb4d8ce18e0d3a19d75a.zip | |
use ArchiveArtifacts for all benchmark resources
Diffstat (limited to 'src/artifact.py')
| -rw-r--r-- | src/artifact.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
