summaryrefslogtreecommitdiff
path: root/repoze/bfg/interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/interfaces.py')
-rw-r--r--repoze/bfg/interfaces.py15
1 files changed, 6 insertions, 9 deletions
diff --git a/repoze/bfg/interfaces.py b/repoze/bfg/interfaces.py
index 567fb6d33..58a0e3257 100644
--- a/repoze/bfg/interfaces.py
+++ b/repoze/bfg/interfaces.py
@@ -1,9 +1,14 @@
-from zope.interface import Interface
from zope.interface import Attribute
+from zope.interface import Interface
+from zope.interface import implements
+
from zope.deferredimport import deprecated
from zope.component.interfaces import IObjectEvent
+from webob import Request as WebobRequest
+
+
deprecated(
'(repoze.bfg.interfaces.ITemplate should now be imported '
'as repoze.bfg.interfaces.ITemplateRenderer)',
@@ -179,14 +184,6 @@ class ILocation(Interface):
class ILogger(Interface):
""" Interface representing a PEP 282 logger """
-HTTP_METHOD_INTERFACES = {
- 'GET':IGETRequest,
- 'POST':IPOSTRequest,
- 'PUT':IPUTRequest,
- 'DELETE':IDELETERequest,
- 'HEAD':IHEADRequest,
- }
-
class IRoutesMapper(Interface):
""" Interface representing a Routes ``Mapper`` object """