cwctl.py
changeset 2032 8db8c21779bc
parent 1977 606923dff11b
parent 2024 82128fe6798c
child 2104 b4ffcea3275b
--- a/cwctl.py	Wed Jun 03 16:52:24 2009 +0200
+++ b/cwctl.py	Wed Jun 03 19:49:15 2009 +0200
@@ -200,7 +200,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: