summaryrefslogtreecommitdiff
path: root/cmd2
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2')
-rw-r--r--cmd2/parsing.py10
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