Skip to content
Myr

Remove the deprecated Flask.modules property

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by ThiefMaster · committed by ThiefMaster · parent 8722208 · Browse files · 1 file+0 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−7 removed

  • other:+0 added−7 removed

1 file+0 added−7 removed

modified:flask/app.py-7 removed
1961 unmodified lines
1962 if self.should_ignore_error(error):1963 error = None1964 ctx.auto_pop(error)19651966 @property1967 def modules(self):1968 from warnings import warn1969 warn(DeprecationWarning('Flask.modules is deprecated, use '1970 'Flask.blueprints instead'), stacklevel=2)1971 return self.blueprints19721966 def __call__(self, environ, start_response):1967 """Shortcut for :attr:`wsgi_app`."""1968 return self.wsgi_app(environ, start_response)1969
5 unmodified lines