equal
deleted
inserted
replaced
1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
1 # copyright 2003-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
3 # |
3 # |
4 # This file is part of CubicWeb. |
4 # This file is part of CubicWeb. |
5 # |
5 # |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
6 # CubicWeb is free software: you can redistribute it and/or modify it under the |
22 import sys |
22 import sys |
23 from os.path import join, exists |
23 from os.path import join, exists |
24 from StringIO import StringIO |
24 from StringIO import StringIO |
25 |
25 |
26 import logilab.common.configuration as lgconfig |
26 import logilab.common.configuration as lgconfig |
27 from logilab.common.decorators import wproperty, cached |
27 from logilab.common.decorators import cached |
28 |
28 |
29 from cubicweb.toolsutils import read_config, restrict_perms_to_user |
29 from cubicweb.toolsutils import read_config, restrict_perms_to_user |
30 from cubicweb.cwconfig import CONFIGURATIONS, CubicWebConfiguration |
30 from cubicweb.cwconfig import CONFIGURATIONS, CubicWebConfiguration |
31 from cubicweb.server import SOURCE_TYPES |
31 from cubicweb.server import SOURCE_TYPES |
32 |
32 |