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 2019/09/23 13:56:05 UTC

[airavata-django-portal] branch master updated: Fix null references

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


The following commit(s) were added to refs/heads/master by this push:
     new 50a9ce3  Fix null references
50a9ce3 is described below

commit 50a9ce39b9503eab174356714a9b366e33718284
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Mon Sep 23 06:55:52 2019 -0700

    Fix null references
---
 django_airavata/apps/api/data_products_helper.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/django_airavata/apps/api/data_products_helper.py b/django_airavata/apps/api/data_products_helper.py
index 91e1411..cdcf03f 100644
--- a/django_airavata/apps/api/data_products_helper.py
+++ b/django_airavata/apps/api/data_products_helper.py
@@ -21,7 +21,6 @@ TMP_INPUT_FILE_UPLOAD_DIR = "tmp"
 
 def save(request, path, file, name=None):
     "Save file in path in the user's storage."
-    logger.debug("save name=" + name)
     username = request.user.username
     full_path = datastore.save(username, path, file, name=name)
     data_product = _save_data_product(request, full_path, name=name)
@@ -199,7 +198,6 @@ def _get_data_product_uri(request, full_path):
 
 def _save_data_product(request, full_path, name=None):
     "Create, register and record in DB a data product for full_path."
-    logger.debug("_save_data_product name=" + name)
     data_product = _create_data_product(
         request.user.username, full_path, name=name)
     product_uri = request.airavata_client.registerDataProduct(