DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.
--- a/cubicweb/pyramid/__init__.py Fri Apr 12 02:26:28 2019 +0200
+++ b/cubicweb/pyramid/__init__.py Wed May 08 21:00:45 2019 +0200
@@ -21,7 +21,7 @@
"""Pyramid interface to CubicWeb"""
import atexit
-from configparser import SafeConfigParser
+from configparser import ConfigParser
import os
import warnings
@@ -72,7 +72,7 @@
for fname in settings_filenames:
if os.path.exists(fname):
- cp = SafeConfigParser()
+ cp = ConfigParser()
cp.read(fname)
settings.update(cp.items('main'))
break