airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata-django-portal] 02/02: Fixing linting errors
Date Wed, 09 Oct 2019 13:13:26 GMT
This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git

commit e201154f125d05df5d68bc271432aa3850867e0c
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Wed Oct 9 09:13:15 2019 -0400

    Fixing linting errors
---
 django_airavata/apps/api/views.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/django_airavata/apps/api/views.py b/django_airavata/apps/api/views.py
index dccf505..4ba414c 100644
--- a/django_airavata/apps/api/views.py
+++ b/django_airavata/apps/api/views.py
@@ -915,7 +915,7 @@ def tus_upload_finish(request):
 
     def move_input_file(file_path, file_name):
         return data_products_helper.move_input_file_upload_from_filepath(
-                request, file_path, name=file_name)
+            request, file_path, name=file_name)
     data_product = tus.move_tus_upload(uploadURL, move_input_file)
     serializer = serializers.DataProductSerializer(
         data_product, context={'request': request})
@@ -1457,7 +1457,7 @@ class UserStoragePathView(APIView):
 
             def move_file(file_path, file_name):
                 return data_products_helper.move_from_filepath(
-                        request, file_path, path, name=file_name)
+                    request, file_path, path, name=file_name)
             data_product = tus.move_tus_upload(uploadURL, move_file)
         return self._create_response(request, path, uploaded=data_product)
 


Mime
View raw message