# HG changeset patch # User Laurent Peuch # Date 1557342045 -7200 # Node ID 6b08ba99b40e8f2bd10f4d9d2eeef6874db67126 # Parent 933c2b3839ab481461d173e020c81098f208913c 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. diff -r 933c2b3839ab -r 6b08ba99b40e cubicweb/pyramid/__init__.py --- 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