lstrip before $[$[ check

This commit is contained in:
Anthony Scopatz 2016-03-03 13:29:46 -05:00
parent 033e767078
commit 9cb1a135ae

View file

@ -189,7 +189,7 @@ class Execer(object):
returnline=True,
maxcol=maxcol,
lexer=self.parser.lexer)
if sbpline.startswith('$[$['):
if sbpline.lstrip().startswith('$[$['):
# if we have already wrapped this in subproc tokens
# and it still doesn't work, adding more won't help
# anything