summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-08-24 08:28:33 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2018-08-26 06:04:58 +0000
commitc53d190be7f7854ceef85521f2a5dbdeb3dc24d7 (patch)
treec303f4bd63792cab5ddd3bf9b9e6c05911c8a787
parenta7e046d58d3013aa0ae874880475b8d001152bbc (diff)
downloadbuildstream-c53d190be7f7854ceef85521f2a5dbdeb3dc24d7.tar.gz
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 "
-rwxr-xr-xdoc/bst2html.py2
1 files changed, 1 insertions, 1 deletions
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