diff options
author | kotfu <kotfu@kotfu.net> | 2018-04-29 16:09:54 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-04-29 16:09:54 -0600 |
commit | 1297be25d68b0c8e511b819c906f0d5e0a942606 (patch) | |
tree | fbb21d880fa77b1eef1d2708b985598bd8d23a6a /cmd2/parsing.py | |
parent | 39e74f6b60b8701b14da29693f909ab407242f73 (diff) | |
download | cmd2-git-1297be25d68b0c8e511b819c906f0d5e0a942606.tar.gz |
Really get rid of the inputFrom stuff, including documentation
Diffstat (limited to 'cmd2/parsing.py')
-rw-r--r-- | cmd2/parsing.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cmd2/parsing.py b/cmd2/parsing.py index 75bbd1c4..a6e67096 100644 --- a/cmd2/parsing.py +++ b/cmd2/parsing.py @@ -175,15 +175,6 @@ class StatementParser(): args = testargs tokens = [] - # check for input from file - inputFrom = None - try: - input_pos = tokens.index('<') - inputFrom = ' '.join(tokens[input_pos+1:]) - tokens = tokens[:input_pos] - except ValueError: - pass - # check for output redirect output = None output_to = None @@ -239,7 +230,6 @@ class StatementParser(): result.command = command result.args = args result.terminator = terminator - result.inputFrom = inputFrom result.output = output result.output_to = output_to result.pipe_to = pipe_to |