From 62c66fb877abe4fd098c38b797f0bb624f641082 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Sun, 25 Jan 2015 17:05:14 -0800 Subject: [PATCH] download_ssh_commands view, deprecated --- planetstack/core/dashboard/views/download_ssh_commands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/planetstack/core/dashboard/views/download_ssh_commands.py b/planetstack/core/dashboard/views/download_ssh_commands.py index ba20885..96d1393 100644 --- a/planetstack/core/dashboard/views/download_ssh_commands.py +++ b/planetstack/core/dashboard/views/download_ssh_commands.py @@ -1,6 +1,9 @@ from view_common import * from core.xoslib.objects.sliceplus import SlicePlus +# This was intended to serve as a download feature for the tenant view. Found +# a better way to do it. This is deprecated. + class DownloadSSHCommandsView(View): url = r'^sshcommands/(?P\d+)/$' @@ -11,6 +14,5 @@ class DownloadSSHCommandsView(View): slice = SlicePlus.objects.get(id=sliceid) - return HttpResponse(slice.getSliceInfo()["sshCommands"], content_type='text/text') -- 2.43.0