Codebase list flask-babel / a4e9ce6
fix import of ImmutableDict from werkzeug (closes: #965050) Johannes 'josch' Schauer 3 years ago
2 changed file(s) with 18 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 werkzeug.patch
01 intersphinx-mapping.patch
12 sphinx-default-theme.patch
0 Description: The import 'werkzeug.ImmutableDict' is deprecated and will be
1 removed in Werkzeug 1.0. Use 'from werkzeug.datastructures import
2 ImmutableDict' instead.
3 Bug-Debian: http://bugs.debian.org965050
4 Author: Johannes 'josch' Schauer <josch@debian.org>
5
6 --- a/flask_babel/__init__.py
7 +++ b/flask_babel/__init__.py
8 @@ -16,7 +16,7 @@ from contextlib import contextmanager
9 from flask import current_app, request
10 from flask.ctx import has_request_context
11 from babel import dates, numbers, support, Locale
12 -from werkzeug import ImmutableDict
13 +from werkzeug.datastructures import ImmutableDict
14 try:
15 from pytz.gae import pytz
16 except ImportError: