Add support for direct download in Swift storage engine

Fixes #483
This commit is contained in:
Joseph Schorr 2015-09-14 17:49:35 -04:00
parent 57329b6c78
commit 6f2271d0ae
6 changed files with 93 additions and 18 deletions

View file

@ -144,7 +144,7 @@ class LocalStorage(BaseStorageV2):
else:
logger.debug('Content already exists at path: %s', final_path_abs)
def validate(self):
def validate(self, client):
# Load the set of disk mounts.
try:
mounts = psutil.disk_partitions(all=True)