diff options
author | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2012-08-23 17:37:29 +0000 |
---|---|---|
committer | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2012-08-23 17:37:29 +0000 |
commit | 8aa8b7076ac45f3862fb55349c052f077e2a1a93 (patch) | |
tree | 548ff9e5b4b49184e3ab3ba5670726c81acbc70b | |
parent | dc560af6e8463bc1eca5deaef390157d54f5f51e (diff) | |
download | pexpect-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.py | 4 |
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 |