Title: [242885] trunk/Tools
Revision
242885
Author
aakash_j...@apple.com
Date
2019-03-13 10:11:27 -0700 (Wed, 13 Mar 2019)

Log Message

[ews-app] Remove unused patch view
https://bugs.webkit.org/show_bug.cgi?id=195669

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-app/ews/urls.py:
* BuildSlaveSupport/ews-app/ews/views/patch.py: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/ews-app/ews/urls.py (242884 => 242885)


--- trunk/Tools/BuildSlaveSupport/ews-app/ews/urls.py	2019-03-13 17:03:42 UTC (rev 242884)
+++ trunk/Tools/BuildSlaveSupport/ews-app/ews/urls.py	2019-03-13 17:11:27 UTC (rev 242885)
@@ -23,7 +23,6 @@
 from django.conf.urls import url
 
 from ews.views.index import Index
-from ews.views.patch import Patch
 from ews.views.results import Results
 from ews.views.statusbubble import StatusBubble
 from ews.views.submittoews import SubmitToEWS
@@ -32,8 +31,6 @@
 urlpatterns = [
     # ex: /
     url(r'^$', Index.as_view(), name='index'),
-    # ex: /patch/5
-    url(r'^patch/(?P<patch_id>[0-9]+)/$', Patch.as_view(), name='patch'),
     # ex: /results/
     url(r'^results/$', Results.as_view(), name='results'),
     # ex: /status-bubble/5

Deleted: trunk/Tools/BuildSlaveSupport/ews-app/ews/views/patch.py (242884 => 242885)


--- trunk/Tools/BuildSlaveSupport/ews-app/ews/views/patch.py	2019-03-13 17:03:42 UTC (rev 242884)
+++ trunk/Tools/BuildSlaveSupport/ews-app/ews/views/patch.py	2019-03-13 17:11:27 UTC (rev 242885)
@@ -1,35 +0,0 @@
-# Copyright (C) 2018-2019 Apple Inc. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1.  Redistributions of source code must retain the above copyright
-#     notice, this list of conditions and the following disclaimer.
-# 2.  Redistributions in binary form must reproduce the above copyright
-#     notice, this list of conditions and the following disclaimer in the
-#     documentation and/or other materials provided with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
-# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR
-# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-from __future__ import unicode_literals
-
-from django.http import HttpResponse
-from django.shortcuts import render
-from django.views import View
-
-
-class Patch(View):
-    def get(self, request, patch_id):
-        return HttpResponse("Placeholder for patch {}.".format(patch_id))
-
-    def post(self, request, patch_id):
-        return HttpResponse("Placeholder to handle post request for patch {}.".format(patch_id))

Modified: trunk/Tools/ChangeLog (242884 => 242885)


--- trunk/Tools/ChangeLog	2019-03-13 17:03:42 UTC (rev 242884)
+++ trunk/Tools/ChangeLog	2019-03-13 17:11:27 UTC (rev 242885)
@@ -1,5 +1,15 @@
 2019-03-13  Aakash Jain  <aakash_j...@apple.com>
 
+        [ews-app] Remove unused patch view
+        https://bugs.webkit.org/show_bug.cgi?id=195669
+
+        Reviewed by Lucas Forschler.
+
+        * BuildSlaveSupport/ews-app/ews/urls.py:
+        * BuildSlaveSupport/ews-app/ews/views/patch.py: Removed.
+
+2019-03-13  Aakash Jain  <aakash_j...@apple.com>
+
         [ews-app] Use Buildbot result code variables
         https://bugs.webkit.org/show_bug.cgi?id=195668
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to