Skip to content

Commit

Permalink
Fixing linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
machristie committed Oct 9, 2019
1 parent 25bcc10 commit e201154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_airavata/apps/api/views.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ def tus_upload_finish(request):


def move_input_file(file_path, file_name): def move_input_file(file_path, file_name):
return data_products_helper.move_input_file_upload_from_filepath( 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) data_product = tus.move_tus_upload(uploadURL, move_input_file)
serializer = serializers.DataProductSerializer( serializer = serializers.DataProductSerializer(
data_product, context={'request': request}) data_product, context={'request': request})
Expand Down Expand Up @@ -1457,7 +1457,7 @@ def post(self, request, path="/", format=None):


def move_file(file_path, file_name): def move_file(file_path, file_name):
return data_products_helper.move_from_filepath( 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) data_product = tus.move_tus_upload(uploadURL, move_file)
return self._create_response(request, path, uploaded=data_product) return self._create_response(request, path, uploaded=data_product)


Expand Down

0 comments on commit e201154

Please sign in to comment.