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 2020/09/10 21:56:19 UTC
[airavata-django-portal] 03/04: AIRAVATA-3346 Remove erroneous lines
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch AIRAVATA-3346-implement-remote-fs-abstraction-of-user-storage
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
commit f1c63042bc92ca00f8a6759068d1b9358ecaa121
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Thu Sep 10 12:43:54 2020 -0400
AIRAVATA-3346 Remove erroneous lines
---
django_airavata/apps/api/views.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/django_airavata/apps/api/views.py b/django_airavata/apps/api/views.py
index 0687402..1469246 100644
--- a/django_airavata/apps/api/views.py
+++ b/django_airavata/apps/api/views.py
@@ -1574,8 +1574,6 @@ class UserStoragePathView(APIView):
data['parts'] = self._split_path(path)
serializer = self.serializer_class(data, context={'request': request})
return Response(serializer.data)
- user_storage.delete_dir(request, path)
- return Response(status=204)
def _split_path(self, path):
head, tail = os.path.split(path)