Description
Currently, all functions that do not begin with _ are considered tasks within Fabric. This exposes any helper functions as full tasks, though they may not work in isolation.
One solution to this is to utilize Python's built-in __all__ value. Checking a module for that, then filtering its variables by that list allows developers to specify the tasks that are to be exposed in a fashion in which they should already be familiar.
Originally submitted by Travis Swicegood (tswicegood) on 2009-12-22 at 09:59pm EST
Relations
Closed as Duplicate on 2009-12-22 at 10:55pm EST