--- a/app/soc/logic/out_of_band.py Sun Oct 12 08:46:05 2008 +0000
+++ b/app/soc/logic/out_of_band.py Sun Oct 12 14:58:47 2008 +0000
@@ -25,6 +25,7 @@
class OutOfBandResponse(Exception):
"""Base exception for out-of-band responses raised by controller logic.
"""
+
pass
@@ -41,25 +42,6 @@
django.http.HttpResponse; the most commonly used is 'status' to
set the HTTP status code for the response
"""
+
self.message = message
self.response_args = response_args
-
-
-class AccessViolationResponse(OutOfBandResponse):
- """"Out of band response when an access requirement was not met.
- """
-
- def __init__(self, response):
- """Constructor used to set response message \.
-
- Args:
- response: The response that should be returned to the user.
- """
-
- self._response = response
-
- def response(self):
- """Returns the response that was set in the constructor.
- """
-
- return self._response