Skip to content
Snippets Groups Projects
Commit 388f54e1 authored by Bob Lantz's avatar Bob Lantz
Browse files

Fixed regex typo.

parent ff6145c0
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ def makeTerm( node, title = '', term = 'xterm' ): ...@@ -51,7 +51,7 @@ def makeTerm( node, title = '', term = 'xterm' ):
def cleanUpScreens(): def cleanUpScreens():
"Remove moldy old screen sessions." "Remove moldy old screen sessions."
r = r'(\d+which .[hsc]\d+)' r = r'(\d+\.mininet\.[hsc]\d+)'
output = quietRun( 'screen -ls' ).split( '\n' ) output = quietRun( 'screen -ls' ).split( '\n' )
for line in output: for line in output:
m = re.search( r, line ) m = re.search( r, line )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment