summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-04-09 22:29:17 -0700
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-04-09 22:29:17 -0700
commit62d8c239312d51d8a1b97e1439f9ad31bb9d5fe0 (patch)
tree2afc56047cf24991ef4b0fbb3ef7a2d983ca9a44 /cmd2.py
parentef23633daba9538360af61d7547e8d0d0f6c1139 (diff)
parentb6935b7c39a19e27f322cea577b2a04b1dd72574 (diff)
downloadcmd2-git-62d8c239312d51d8a1b97e1439f9ad31bb9d5fe0.tar.gz
Merge branch 'master' into help_categories
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd2.py b/cmd2.py
index 1d2751c4..5e9266f7 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -1354,13 +1354,13 @@ class Cmd(cmd.Cmd):
raw_tokens.append(cur_initial_token)
continue
- # Keep track of the current token we are building
- cur_raw_token = ''
-
# Iterate over each character in this token
cur_index = 0
cur_char = cur_initial_token[cur_index]
+ # Keep track of the token we are building
+ cur_raw_token = ''
+
while True:
if cur_char not in REDIRECTION_CHARS: