From 408820cbe360e94388d63ba1778f020e9894cdce Mon Sep 17 00:00:00 2001 From: xianming mao Date: Sun, 11 Sep 2016 16:58:13 +0800 Subject: [PATCH] Use ConfigParser instead of SafeConfigParser The SafeConfigParser class has been renamed to ConfigParser in Python 3.2 [1]. This alias will be removed in future versions.So we can use ConfigParser directly instead. [1] http://bugs.python.org/issue10627 Closes-Bug: #1618666 Change-Id: If01186cefad2149d65ffcc1fc6550d72d26f5b11 --- doc/ext/support_matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ext/support_matrix.py b/doc/ext/support_matrix.py index 5f75db4600..c7e14046cd 100644 --- a/doc/ext/support_matrix.py +++ b/doc/ext/support_matrix.py @@ -133,7 +133,7 @@ class SupportMatrixDirective(rst.Directive): :returns: SupportMatrix instance """ - cfg = configparser.SafeConfigParser() + cfg = configparser.ConfigParser() env = self.state.document.settings.env fname = self.arguments[0] rel_fpath, fpath = env.relfn2path(fname)