summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoah <noah@656d521f-e311-0410-88e0-e7920216d269>2008-05-23 20:46:01 +0000
committernoah <noah@656d521f-e311-0410-88e0-e7920216d269>2008-05-23 20:46:01 +0000
commitca638b0e7f214273edcdc0fe9b319e6aca922763 (patch)
tree135daf61cc8982e30bb1df076a0f622d4370ca87
parent1b79c4f7e6024e1618a68e8f89126dfbad167bfe (diff)
downloadpexpect-ca638b0e7f214273edcdc0fe9b319e6aca922763.tar.gz
It turns out someone was getting another exception besides AttributeError.
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@516 656d521f-e311-0410-88e0-e7920216d269
-rw-r--r--pexpect/pexpect.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pexpect/pexpect.py b/pexpect/pexpect.py
index 9e92c84..a1e009f 100644
--- a/pexpect/pexpect.py
+++ b/pexpect/pexpect.py
@@ -33,10 +33,10 @@ the normal stdio streams.
Credits: Noah Spurrier, Richard Holden, Marco Molteni, Kimberley Burchett,
Robert Stone, Hartmut Goebel, Chad Schroeder, Erick Tryzelaar, Dave Kirby, Ids
vander Molen, George Todd, Noel Taylor, Nicolas D. Cesar, Alexander Gattin,
-Geoffrey Marshall, Francisco Lourenco, Glen Mabey, Karthik Gurusamy, Fernando
-Perez, Corey Minyard, Jon Cohen, Guillaume Chazarain, Andrew Ryan, Nick
-Craig-Wood, Andrew Stone, Jorgen Grahn, John Spiegel, Jan Grant (Let me know if
-I forgot anyone.)
+Jacques-Etienne Baudoux, Geoffrey Marshall, Francisco Lourenco, Glen Mabey,
+Karthik Gurusamy, Fernando Perez, Corey Minyard, Jon Cohen, Guillaume
+Chazarain, Andrew Ryan, Nick Craig-Wood, Andrew Stone, Jorgen Grahn, John
+Spiegel, Jan Grant (Let me know if I forgot anyone.)
Free, open source, and all that good stuff.
@@ -444,7 +444,7 @@ class spawn (object):
# -- Fernando Perez
try:
self.close()
- except AttributeError:
+ except:
pass
def __str__(self):