summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-04-09 22:11:26 -0700
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-04-09 22:11:26 -0700
commitef28616232b509b46fd59e13fa69d69054ef71ad (patch)
tree2a764df3326c2ae085da09bef464d44df11b949d /cmd2.py
parent43e6ae2ec979c04a81f7fc992c6b836f09043a92 (diff)
parentb6935b7c39a19e27f322cea577b2a04b1dd72574 (diff)
downloadcmd2-git-ef28616232b509b46fd59e13fa69d69054ef71ad.tar.gz
Merge branch 'master' into delete_optparse
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 41937ce3..d9825828 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -1165,13 +1165,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: