summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoah <noah@656d521f-e311-0410-88e0-e7920216d269>2012-08-23 17:37:29 +0000
committernoah <noah@656d521f-e311-0410-88e0-e7920216d269>2012-08-23 17:37:29 +0000
commit8aa8b7076ac45f3862fb55349c052f077e2a1a93 (patch)
tree548ff9e5b4b49184e3ab3ba5670726c81acbc70b
parentdc560af6e8463bc1eca5deaef390157d54f5f51e (diff)
downloadpexpect-8aa8b7076ac45f3862fb55349c052f077e2a1a93.tar.gz
Syntax error fix. Forgot to run the test suite.
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@528 656d521f-e311-0410-88e0-e7920216d269
-rw-r--r--pexpect/pexpect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pexpect/pexpect.py b/pexpect/pexpect.py
index 1d97851..0896ef9 100644
--- a/pexpect/pexpect.py
+++ b/pexpect/pexpect.py
@@ -669,8 +669,8 @@ class spawn(object):
fd = os.open("/dev/tty", os.O_RDWR | os.O_NOCTTY)
if fd >= 0:
os.close(fd)
- raise ExceptionPexpect, 'Failed to disconnect from ' +
- 'controlling tty. It is still possible to open /dev/tty.'
+ raise ExceptionPexpect, 'Failed to disconnect from ' + \
+ 'controlling tty. It is still possible to open /dev/tty.'
except:
# Good! We are disconnected from a controlling tty.
pass