Tres Seaver
2009-07-20 a95805481a0fbaa9ef888751f55549245094cd08
Fixed documentation bug showing wrong environment key for the ``matchdict``
produced by the matching route.

Thanks to leopay for the catch.

2 files modified
5 ■■■■ changed files
CHANGES.txt 3 ●●●●● patch | view | raw | blame | history
docs/narr/urldispatch.rst 2 ●●● patch | view | raw | blame | history
CHANGES.txt
@@ -1,6 +1,9 @@
Next release
============
- Fixed documentation bug showing wrong environment key for the ``matchdict``
  produced by the matching route.
- Added a workaround for a bug in Python 2.6, 2.6.1, and 2.6.2 having
  to do with a recursion error in the mimetypes module when trying to
  serve static files from Paste's FileApp:
docs/narr/urldispatch.rst
@@ -351,7 +351,7 @@
   class Article(object):
       def __init__(self, environ):
           self.__dict__.update(environ['repoze.bfg.matchdict'])
           self.__dict__.update(environ['bfg.routes.matchdict'])
       def is_root(self):
           return self['article'] == 'root'