diff options
author | kotfu <kotfu@kotfu.net> | 2018-07-10 22:24:25 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-07-10 22:24:25 -0600 |
commit | 951cc1c6d877dfac1d0afcca3ea84776a9960aa9 (patch) | |
tree | 9d36fcb6af011ea24c8537fa8b0103ff836e5b25 /cmd2/parsing.py | |
parent | 7e2d0ea77d44e5fc009b3593b80ddbc1bf01b014 (diff) | |
parent | 6ddb6842e5ac87fb5c433eb8d86df48f3e045da2 (diff) | |
download | cmd2-git-951cc1c6d877dfac1d0afcca3ea84776a9960aa9.tar.gz |
Merge branch 'master' into plugin_functions
Diffstat (limited to 'cmd2/parsing.py')
-rw-r--r-- | cmd2/parsing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/parsing.py b/cmd2/parsing.py index f7000ce0..0d480f0f 100644 --- a/cmd2/parsing.py +++ b/cmd2/parsing.py @@ -194,7 +194,7 @@ class StatementParser: invalid_command_chars = [] invalid_command_chars.extend(constants.QUOTES) invalid_command_chars.extend(constants.REDIRECTION_CHARS) - invalid_command_chars.extend(terminators) + invalid_command_chars.extend(self.terminators) # escape each item so it will for sure get treated as a literal second_group_items = [re.escape(x) for x in invalid_command_chars] # add the whitespace and end of string, not escaped because they |