tools.py: don't need trailing whitespace on subproc commands?

This commit is contained in:
adam j hartz 2015-03-24 22:25:41 -04:00
parent 3e3d7c3c04
commit 5cad88e0f0

View file

@ -35,8 +35,8 @@ def subproc_toks(line, mincol=-1, maxcol=None, lexer=None, returnline=False):
subprocess $[] starting at a minimum column. If there are no tokens
(ie in a comment line) this returns None.
"""
if not line.endswith('\n'):
line = line + '\n'
#if not line.endswith('\n'):
# line = line + '\n'
if lexer is None:
lexer = builtins.__xonsh_execer__.parser.lexer
if maxcol is None: