Added default title of 'Node'.

This commit is contained in:
Bob Lantz
2010-04-11 01:12:11 -07:00
parent 68f97b74ad
commit f583900da9
+2 -1
View File
@@ -52,9 +52,10 @@ def cleanUpScreens():
if m:
quietRun( 'screen -S ' + m.group( 1 ) + ' -X quit' )
def makeTerms( nodes, title = '', term = 'xterm' ):
def makeTerms( nodes, title='Node', term='xterm' ):
"""Create terminals.
nodes: list of Node objects
title: base title for each
returns: list of created terminal processes"""
return [ makeTerm( node, title, term ) for node in nodes ]