Skip to content

Commit

Permalink
Fix all uncompressed artifacts stored as just '.tar'
Browse files Browse the repository at this point in the history
  • Loading branch information
dt authored and Patrick Lawson committed Oct 22, 2014
1 parent 4456b0c commit 05d5274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/pants/cache/local_artifact_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ def _cache_file_for_key(self, cache_key):
# Note: it's important to use the id as well as the hash, because two different targets
# may have the same hash if both have no sources, but we may still want to differentiate them.
return os.path.join(self._cache_root, cache_key.id, cache_key.hash) + \
'.tar.gz' if self._compress else '.tar'
('.tar.gz' if self._compress else '.tar')

0 comments on commit 05d5274

Please sign in to comment.