From 8aa8b7076ac45f3862fb55349c052f077e2a1a93 Mon Sep 17 00:00:00 2001 From: noah Date: Thu, 23 Aug 2012 17:37:29 +0000 Subject: 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 --- pexpect/pexpect.py | 4 ++-- 1 file 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 -- cgit v1.2.1