Request local objects now fail properly with a RuntimeError. This fixes #105

This commit is contained in:
Armin Ronacher 2010-08-07 13:02:53 +02:00
parent d17b6d738a
commit faa1c71e45
4 changed files with 26 additions and 5 deletions

View file

@ -19,6 +19,14 @@ installation, make sure to pass it the ``-U`` parameter::
$ easy_install -U Flask
Version 0.7
-----------
Due to a bug in earlier implementations the request local proxies now
raise a :exc:`RuntimeError` instead of an :exc:`AttributeError` when they
are unbound. If you cought these exceptions with :exc:`AttributeError`
before, you should catch them with :exc:`RuntimeError` now.
Version 0.6
-----------