equal
deleted
inserted
replaced
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: |