theoden  committed 158f993

overriden _expose_to now returns list of tasks to fit contract

  • Participants
  • Parent commits 7a83f97
  • Branches multiple web-servers

Comments (0)

Files changed (1)

File fab_deploy/

         self.apps = apps
     def _expose_to(self, module_obj):
-        super(WebProject, self)._expose_to(module_obj)
+        task_list = super(WebProject, self)._expose_to(module_obj)
         apps_module = types.ModuleType('apps')
         for app_name, app in self.apps.iteritems():
             module = app.expose_as_module(app_name)
             setattr(apps_module, app_name, module)
         module_obj.apps = apps_module
+        task_list.append('apps')
+        return task_list
     def full_deploy(self):