Added default title of 'Node'.
This commit is contained in:
+2
-1
@@ -52,9 +52,10 @@ def cleanUpScreens():
|
|||||||
if m:
|
if m:
|
||||||
quietRun( 'screen -S ' + m.group( 1 ) + ' -X quit' )
|
quietRun( 'screen -S ' + m.group( 1 ) + ' -X quit' )
|
||||||
|
|
||||||
def makeTerms( nodes, title = '', term = 'xterm' ):
|
def makeTerms( nodes, title='Node', term='xterm' ):
|
||||||
"""Create terminals.
|
"""Create terminals.
|
||||||
nodes: list of Node objects
|
nodes: list of Node objects
|
||||||
title: base title for each
|
title: base title for each
|
||||||
returns: list of created terminal processes"""
|
returns: list of created terminal processes"""
|
||||||
return [ makeTerm( node, title, term ) for node in nodes ]
|
return [ makeTerm( node, title, term ) for node in nodes ]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user