Fixed regex typo.

This commit is contained in:
Bob Lantz
2010-04-10 20:25:16 -07:00
parent ff6145c015
commit 388f54e148
+1 -1
View File
@@ -51,7 +51,7 @@ def makeTerm( node, title = '', term = 'xterm' ):
def cleanUpScreens():
"Remove moldy old screen sessions."
r = r'(\d+which .[hsc]\d+)'
r = r'(\d+\.mininet\.[hsc]\d+)'
output = quietRun( 'screen -ls' ).split( '\n' )
for line in output:
m = re.search( r, line )