From c3ebd59a15bcef32aa03e8f94bcee99f841b2f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Fri, 24 Aug 2018 08:28:33 +0100 Subject: doc/bst2html.py: Fix deprecation warning This fixes the following: " /home/jjardon/buildstream/buildstream/doc/bst2html.py:32: 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 Mapping " --- doc/bst2html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bst2html.py b/doc/bst2html.py index 7bbcf6c9a..47ea662b5 100755 --- a/doc/bst2html.py +++ b/doc/bst2html.py @@ -29,7 +29,7 @@ import sys import re import shlex import subprocess -from collections import Mapping +from collections.abc import Mapping from contextlib import contextmanager from tempfile import TemporaryDirectory -- cgit v1.2.1