redo juj's fix in stable branch stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 03 Jun 2009 09:52:39 +0200
branchstable
changeset 2024 82128fe6798c
parent 2007 62d72d65e50d
child 2032 8db8c21779bc
redo juj's fix in stable branch
cwctl.py
--- 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: