summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-08-24 08:28:33 +0100
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-08-26 15:07:32 +0900
commitc3ebd59a15bcef32aa03e8f94bcee99f841b2f3f (patch)
tree089ce68abb5f37419fd1e353342027459c0d4187
parentbd96e353e125138656afd679603ab763a40370b4 (diff)
downloadbuildstream-c3ebd59a15bcef32aa03e8f94bcee99f841b2f3f.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