goa/goactl.py
branchtls-sprint
changeset 1263 01152fffd593
parent 1138 22f634977c95
parent 1015 b5fdad9208f8
child 1432 2c3711d4570b
--- a/goa/goactl.py	Mon Apr 06 12:37:45 2009 +0200
+++ b/goa/goactl.py	Tue Apr 07 09:30:23 2009 +0200
@@ -212,12 +212,12 @@
         # link every supported components
         packagesdir = join(appldir, 'cubes')
         create_init_file(join(appldir, 'cubes'), 'cubes')
-        cubesdir = CubicWebConfiguration.cubes_dir()
-        for include in ('addressbook', 'basket', 'blog', 'folder',
+        for include in ('addressbook','basket', 'blog','folder',
                         'tag', 'comment', 'file', 'link',
                         'mailinglist', 'person', 'task', 'zone',
                         ):
-            create_symlink(join(cubesdir, include), join(packagesdir, include))
+            create_symlink(CubicWebConfiguration.cube_dir(include),
+                           join(packagesdir, include))
         # generate sample config
         from cubicweb.goa.goaconfig import GAEConfiguration
         from cubicweb.common.migration import MigrationHelper