[Libreoffice-commits] core.git: solenv/gdb
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 24 09:29:32 UTC 2020
solenv/gdb/boost/util/printing.py | 2 +-
solenv/gdb/libreoffice/util/printing.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4a899a5f8a72ea29a6919316afe3627de9f33e95
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Sep 24 09:53:24 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Sep 24 11:28:52 2020 +0200
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 at redhat.com>
diff --git a/solenv/gdb/boost/util/printing.py b/solenv/gdb/boost/util/printing.py
index ca8b6c28eeca..85a91c9340a4 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 b44c1ec8bd5c..30e311678025 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
More information about the Libreoffice-commits
mailing list