summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Hanchrow <ehanchrow@ine.com>2014-01-06 16:06:02 -0800
committerEric Hanchrow <ehanchrow@ine.com>2014-01-06 16:06:20 -0800
commit6f5b435e4c78116686defbb141e312bf91806f2e (patch)
tree0251cba546eae42463e409c601cc362b818f4931
parent6c88ef71a3fd9ffa1a7fd4f23c857031506e5161 (diff)
downloadpexpect-6f5b435e4c78116686defbb141e312bf91806f2e.tar.gz
ExceptionPexpect.__init__: invoke super's init
This avoids an exception in the following: import pexpect import pickle pickle.loads(pickle.dumps(pexpect.EOF('hey you')))
-rw-r--r--pexpect/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pexpect/__init__.py b/pexpect/__init__.py
index ed5e1e4..21ef0ca 100644
--- a/pexpect/__init__.py
+++ b/pexpect/__init__.py
@@ -100,6 +100,7 @@ class ExceptionPexpect(Exception):
'''
def __init__(self, value):
+ super(ExceptionPexpect, self).__init__(value)
self.value = value
def __str__(self):