cwctl.py
changeset 2032 8db8c21779bc
parent 1977 606923dff11b
parent 2024 82128fe6798c
child 2104 b4ffcea3275b
equal deleted inserted replaced
2025:010a4b0fe855 2032:8db8c21779bc
   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: