diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-09-24 09:53:24 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-02-14 17:45:14 +0100 |
commit | 966bf60beed0e745c748f75e3b021300c7dbe497 (patch) | |
tree | 7616a9d277c9a6a2ad25283ca2569e76a133950e | |
parent | e9036e23d82ca68706c258d32cfb186f9615930b (diff) |
Fix Python deprecation warnings
I noticed these "DeprecationWarning: Using or importing the ABCs from
'collections' instead of from 'collections.abc' is deprecated since Python 3.3,
and in 3.9 it will stop working" now when running tests with
CPPUNITTRACE='gdb --args' on Fedora 32.
Change-Id: If263dacb9df5c1fffd2be2418e13e69b96070c77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103294
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | solenv/gdb/boost/util/printing.py | 2 | ||||
-rw-r--r-- | solenv/gdb/libreoffice/util/printing.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gdb/boost/util/printing.py b/solenv/gdb/boost/util/printing.py index 1d5d0bac9fc6..4088f3a3fa3b 100644 --- a/solenv/gdb/boost/util/printing.py +++ b/solenv/gdb/boost/util/printing.py @@ -19,7 +19,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. -from collections import Mapping +from collections.abc import Mapping import gdb import re import six diff --git a/solenv/gdb/libreoffice/util/printing.py b/solenv/gdb/libreoffice/util/printing.py index 9cbae3080a64..7ce29899355a 100644 --- a/solenv/gdb/libreoffice/util/printing.py +++ b/solenv/gdb/libreoffice/util/printing.py @@ -7,7 +7,7 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -from collections import Mapping +from collections.abc import Mapping import gdb import re import six |