cwctl.py
branchstable
changeset 2024 82128fe6798c
parent 1898 39b37f90a8a4
child 2032 8db8c21779bc
--- a/cwctl.py	Fri May 29 16:11:49 2009 +0200
+++ b/cwctl.py	Wed Jun 03 09:52:39 2009 +0200
@@ -199,7 +199,7 @@
                                            or tinfo.__doc__)
                     if shortdesc:
                         print '    '+ '    \n'.join(shortdesc.splitlines())
-                    modes = detect_available_modes(CubicWebConfiguration.cube_dir(cube))
+                    modes = detect_available_modes(cwcfg.cube_dir(cube))
                     print '    available modes: %s' % ', '.join(modes)
         print
         try: