cwctl.py
branchstable
changeset 5608 f9ab62103ad4
parent 5498 eab5540d96eb
child 5627 a7e40cccdc9b
child 5796 351e84e18a61
equal deleted inserted replaced
5607:38d43dc5ee57 5608:f9ab62103ad4
   199         )
   199         )
   200 
   200 
   201     def run(self, args):
   201     def run(self, args):
   202         """run the command with its specific arguments"""
   202         """run the command with its specific arguments"""
   203         if args:
   203         if args:
   204             raise BadCommandUsage('Too much arguments')
   204             raise BadCommandUsage('Too many arguments')
   205         from cubicweb.migration import ConfigurationProblem
   205         from cubicweb.migration import ConfigurationProblem
   206         print 'CubicWeb %s (%s mode)' % (cwcfg.cubicweb_version(), cwcfg.mode)
   206         print 'CubicWeb %s (%s mode)' % (cwcfg.cubicweb_version(), cwcfg.mode)
   207         print
   207         print
   208         print 'Available configurations:'
   208         print 'Available configurations:'
   209         for config in CONFIGURATIONS:
   209         for config in CONFIGURATIONS: