Commits

Geoffrey Sneddon  committed 461f02d

Re-add processes default value, remove needless imports.

  • Participants
  • Parent commits 9531983

Comments (0)

Files changed (1)

File specGen/generator.py

 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
-from processes import xref, toc, sub
-
 class generator(object):
 	""" This oversees all the actual work done """
 	
-	def process(self, tree, processes, **kwargs):
+	def process(self, tree, processes=set(["sub", "toc", "xref"]), **kwargs):
 		""" Process the given tree. """
 		
 		# Find number of passes to do