equal
deleted
inserted
replaced
1 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
1 # copyright 2003-2011 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 |
34 |
34 |
35 from logilab.common.clcommands import Command as BaseCommand |
35 from logilab.common.clcommands import Command as BaseCommand |
36 from logilab.common.compat import any |
36 from logilab.common.compat import any |
37 from logilab.common.shellutils import ASK |
37 from logilab.common.shellutils import ASK |
38 |
38 |
39 from cubicweb import warning |
39 from cubicweb import warning # pylint: disable=E0611 |
40 from cubicweb import ConfigurationError, ExecutionError |
40 from cubicweb import ConfigurationError, ExecutionError |
41 |
41 |
42 def underline_title(title, car='-'): |
42 def underline_title(title, car='-'): |
43 return title+'\n'+(car*len(title)) |
43 return title+'\n'+(car*len(title)) |
44 |
44 |