summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-08-24 08:28:33 +0100
committerJavier Jardón <jjardon@gnome.org>2018-08-24 13:06:16 +0100
commit41779a683210105859de221ce24d7f1fe7808772 (patch)
tree0c213bc71c7921d69106940e362fc368c432d06c
parent2c3a6ab8ad478314154716a2b1918ce1b867cc49 (diff)
downloadbuildstream-jjardon/doc_fix_deprecations.tar.gz
doc/bst2html.py: Fix deprecation warningjjardon/doc_fix_deprecations
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