summaryrefslogtreecommitdiff
path: root/pexpect/pty_spawn.py
diff options
context:
space:
mode:
authorDavid Cullen <david.cullen@technicolor.com>2016-06-29 12:23:29 -0400
committerDavid Cullen <david.cullen@technicolor.com>2016-06-29 12:23:29 -0400
commit5c18bd4841b4d70c4f08bba6d85411c3b69d3224 (patch)
treee38b6b0413c7e77a5d03cad89a88928818a853fa /pexpect/pty_spawn.py
parent5655041074ec01214426472e6661878446bd5ab3 (diff)
downloadpexpect-git-5c18bd4841b4d70c4f08bba6d85411c3b69d3224.tar.gz
Remove unreachable code.
Diffstat (limited to 'pexpect/pty_spawn.py')
-rw-r--r--pexpect/pty_spawn.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/pexpect/pty_spawn.py b/pexpect/pty_spawn.py
index 46b03ba..0be18b0 100644
--- a/pexpect/pty_spawn.py
+++ b/pexpect/pty_spawn.py
@@ -403,8 +403,6 @@ class spawn(SpawnBase):
'''
return self.ptyproc.setecho(state)
- self.echo = state
-
def read_nonblocking(self, size=1, timeout=-1):
'''This reads at most size characters from the child application. It
includes a timeout. If the read does not complete within the timeout