You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2021/05/05 21:59:21 UTC
[airavata-django-portal-sdk] branch mft-integration updated: Fixing
linting error (trailing ws)
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch mft-integration
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal-sdk.git
The following commit(s) were added to refs/heads/mft-integration by this push:
new b840ef0 Fixing linting error (trailing ws)
b840ef0 is described below
commit b840ef0c9032843174a94069283000a3264162d0
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Wed May 5 17:59:08 2021 -0400
Fixing linting error (trailing ws)
---
.../user_storage/backends/django_filesystem_provider.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airavata_django_portal_sdk/user_storage/backends/django_filesystem_provider.py b/airavata_django_portal_sdk/user_storage/backends/django_filesystem_provider.py
index b913bb6..454fd19 100644
--- a/airavata_django_portal_sdk/user_storage/backends/django_filesystem_provider.py
+++ b/airavata_django_portal_sdk/user_storage/backends/django_filesystem_provider.py
@@ -107,7 +107,7 @@ class DjangoFileSystemProvider(UserStorageProvider):
# Special case: handle creating user's home directory
if resource_path == '' and not datastore.exists(''):
datastore.create_user_dir('')
- return self.storage_resource_id, datastore.path(resource_path)
+ return self.storage_resource_id, datastore.path(resource_path)
if not datastore.exists(resource_path):
raise ObjectDoesNotExist(f"User resource_path does not exist {resource_path}")
valid_dir_names = []