Skip to content
Snippets Groups Projects
Commit 8396960e authored by Brian O'Connor's avatar Brian O'Connor
Browse files

Merge pull request #380 from cdburkard/devel/cli_comments

parse comments out of CLI
parents 3e8df323 c5e8f09b
No related branches found
No related tags found
No related merge requests found
...@@ -400,6 +400,12 @@ def waitForNode( self, node ): ...@@ -400,6 +400,12 @@ def waitForNode( self, node ):
# read data but before it has been printed. # read data but before it has been printed.
node.sendInt() node.sendInt()
def precmd( self, line ):
"allow for comments in the cli"
if '#' in line:
line = line.split( '#' )[ 0 ]
return line
# Helper functions # Helper functions
......
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