From 6af9690ae9800f5a6074c70498cba4b26335ec72 Mon Sep 17 00:00:00 2001 From: ThiefMaster Date: Sat, 20 Jun 2015 18:09:27 +0200 Subject: [PATCH] Remove the deprecated Flask.modules property --- flask/app.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/flask/app.py b/flask/app.py index e260065b..668f36ce 100644 --- a/flask/app.py +++ b/flask/app.py @@ -1963,13 +1963,6 @@ class Flask(_PackageBoundObject): error = None ctx.auto_pop(error) - @property - def modules(self): - from warnings import warn - warn(DeprecationWarning('Flask.modules is deprecated, use ' - 'Flask.blueprints instead'), stacklevel=2) - return self.blueprints - def __call__(self, environ, start_response): """Shortcut for :attr:`wsgi_app`.""" return self.wsgi_app(environ, start_response)