diff options
author | Adam Johnson <me@adamj.eu> | 2019-05-08 16:48:24 +0100 |
---|---|---|
committer | Marcel Hellkamp <marc@gsites.de> | 2019-07-10 10:29:35 +0200 |
commit | eff4960d941b51629f8378b1bd9498ed2aec92c7 (patch) | |
tree | 0632ad0d3a0bb0eecf2c9bda47a6826bea11f280 | |
parent | a454029f6e8a087e5cb570eb6ee36c2087d26e4d (diff) | |
download | bottle-eff4960d941b51629f8378b1bd9498ed2aec92c7.tar.gz |
Fix Python 3.7 collections.abc DeprecationWarning
Should fix this
```
/.../bin/bottle.py:87: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import MutableMapping as DictMixin
```
-rwxr-xr-x | bottle.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -129,7 +129,7 @@ if py3k: from urllib.parse import urlencode, quote as urlquote, unquote as urlunquote urlunquote = functools.partial(urlunquote, encoding='latin1') from http.cookies import SimpleCookie, Morsel, CookieError - from collections import MutableMapping as DictMixin + from collections.abc import MutableMapping as DictMixin import pickle from io import BytesIO import configparser |