summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-05-27 23:30:24 +0000
committerChris McDonough <chrism@agendaless.com>2009-05-27 23:30:24 +0000
commitfab47b47407306d893f43517c322e724612c834f (patch)
tree0ba5cc59576fe1fb88078c0b21b638f9e02f1988
parent8fc798fa48f1414d4c23bbcc8720b7a1d5d96cf1 (diff)
downloadpyramid-fab47b47407306d893f43517c322e724612c834f.tar.gz
pyramid-fab47b47407306d893f43517c322e724612c834f.tar.bz2
pyramid-fab47b47407306d893f43517c322e724612c834f.zip
- Remove backwards compatibility alias for
``repoze.bfg.urldispatch.RoutesContext`` (deprecated since 0.6.3). This must now be imported as ``repoze.bfg.urldispatch.DefaultRoutesContext``.
-rw-r--r--CHANGES.txt5
-rw-r--r--repoze/bfg/urldispatch.py9
2 files changed, 5 insertions, 9 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 8e222d22f..63bfb85c2 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -11,6 +11,11 @@ Documentation
Deprecated Alias Removals
-------------------------
+- Remove backwards compatibility alias for
+ ``repoze.bfg.urldispatch.RoutesContext`` (deprecated since 0.6.3).
+ This must now be imported as
+ ``repoze.bfg.urldispatch.DefaultRoutesContext``.
+
- Removed backwards compatibility aliases for
``repoze.bfg.router.get_options`` and ``repoze.bfg.router.Settings``
(deprecated since 0.6.2). These both must now be imported from
diff --git a/repoze/bfg/urldispatch.py b/repoze/bfg/urldispatch.py
index 3e60c0ba5..7f1431819 100644
--- a/repoze/bfg/urldispatch.py
+++ b/repoze/bfg/urldispatch.py
@@ -2,8 +2,6 @@ import re
from zope.component import queryUtility
-from zope.deprecation import deprecated
-
from zope.interface import implements
from zope.interface import alsoProvides
from zope.interface import classProvides
@@ -26,13 +24,6 @@ class DefaultRoutesContext(object):
def __init__(self, **kw):
self.__dict__.update(kw)
-RoutesContext = DefaultRoutesContext
-deprecated('RoutesContext',
- "('from repoze.bfg.urldispatch import RoutesContext' is now "
- "deprecated; instead use 'from repoze.bfg.urldispatch import "
- "DefaultRoutesContext')",
- )
-
class RoutesContextNotFound(object):
implements(IContextNotFound)
def __init__(self, msg):