summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-04-10 00:47:19 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-04-10 00:47:19 -0400
commitb6935b7c39a19e27f322cea577b2a04b1dd72574 (patch)
treee8d15a0985c5fb4f0c0e6db1d0bbc877eee5bde1 /cmd2.py
parent98301d03570f3e2e407c1397641bf2b04eb480ac (diff)
downloadcmd2-git-b6935b7c39a19e27f322cea577b2a04b1dd72574.tar.gz
Swapped line order for comment clarity
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 2c23c57a..8fd42d84 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -1340,13 +1340,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: