summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/sample-apps/sample-minio-load-model
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-23 14:42:04 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-23 14:42:04 +0100
commit00107ed0ee9911ac761a544bada794a1ebb26ddf (patch)
tree9a03523459344ba6d5264e34c2f6bbae356cd9d8 /vnfs/DAaaS/sample-apps/sample-minio-load-model
parent89da408dd79bcc7cfb4d89033da435c974c13e70 (diff)
Fix whitespace issues in Python files
Change-Id: I7c98d1187c24b58471a822ec6f0fb9b0999f6f39 Issue-ID: INT-1482 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'vnfs/DAaaS/sample-apps/sample-minio-load-model')
-rwxr-xr-xvnfs/DAaaS/sample-apps/sample-minio-load-model/build/load-model-from-minio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnfs/DAaaS/sample-apps/sample-minio-load-model/build/load-model-from-minio.py b/vnfs/DAaaS/sample-apps/sample-minio-load-model/build/load-model-from-minio.py
index dbdabc3a..eae66d72 100755
--- a/vnfs/DAaaS/sample-apps/sample-minio-load-model/build/load-model-from-minio.py
+++ b/vnfs/DAaaS/sample-apps/sample-minio-load-model/build/load-model-from-minio.py
@@ -35,7 +35,7 @@ client = Minio(os.environ['S3_ENDPOINT'],
secure=False)
-def load_model(bucket_name, object_name, filepath):
+def load_model(bucket_name, object_name, filepath):
try:
client.fget_object(bucket_name, object_name, filepath)
except ResponseError as err:
@@ -48,4 +48,4 @@ if __name__ == "__main__":
for object_name in objects:
print(f"Load model from s3://{bucket_name}/{object_name} to {filepath+object_name}")
load_model(bucket_name, object_name, filepath+object_name)
- time.sleep(300) \ No newline at end of file
+ time.sleep(300)