equal
deleted
inserted
replaced
198 if self.config.verbose: |
198 if self.config.verbose: |
199 shortdesc = tinfo and (getattr(tinfo, 'short_desc', '') |
199 shortdesc = tinfo and (getattr(tinfo, 'short_desc', '') |
200 or tinfo.__doc__) |
200 or tinfo.__doc__) |
201 if shortdesc: |
201 if shortdesc: |
202 print ' '+ ' \n'.join(shortdesc.splitlines()) |
202 print ' '+ ' \n'.join(shortdesc.splitlines()) |
203 modes = detect_available_modes(CubicWebConfiguration.cube_dir(cube)) |
203 modes = detect_available_modes(cwcfg.cube_dir(cube)) |
204 print ' available modes: %s' % ', '.join(modes) |
204 print ' available modes: %s' % ', '.join(modes) |
205 print |
205 print |
206 try: |
206 try: |
207 regdir = cwcfg.registry_dir() |
207 regdir = cwcfg.registry_dir() |
208 except ConfigurationError, ex: |
208 except ConfigurationError, ex: |