cubicweb/server/serverconfig.py
changeset 12567 26744ad37953
parent 12376 890853079ce3
child 12939 da153e89f1c6
equal deleted inserted replaced
12566:6b3523f81f42 12567:26744ad37953
    14 # details.
    14 # details.
    15 #
    15 #
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """server.serverconfig definition"""
    18 """server.serverconfig definition"""
    19 from __future__ import print_function
    19 
    20 
    20 from io import StringIO
    21 
       
    22 
       
    23 import sys
    21 import sys
    24 from os.path import join, exists
    22 from os.path import join, exists
    25 
       
    26 from six.moves import StringIO
       
    27 
    23 
    28 import logilab.common.configuration as lgconfig
    24 import logilab.common.configuration as lgconfig
    29 from logilab.common.decorators import cached
    25 from logilab.common.decorators import cached
    30 
    26 
    31 from cubicweb.toolsutils import read_config, restrict_perms_to_user
    27 from cubicweb.toolsutils import read_config, restrict_perms_to_user