Commits

theoden committed f22b898

removing of code duplication via yield elimination (#93f9d2d86f8c at fabric-taskset)

  • Participants
  • Parent commits 959216a
  • Branches multiple web-servers

Comments (0)

Files changed (1)

File fab_deploy/project.py

         self.apps = apps
 
     def _expose_to(self, module_obj):
-        for name, task in self._get_fabric_tasks():
-            setattr(module_obj, name, task)
-            yield name
+        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)