summaryrefslogtreecommitdiff
path: root/M2Crypto/httpslib.py
diff options
context:
space:
mode:
authorHeikki Toivonen <heikki@heikkitoivonen.net>2008-09-04 01:16:36 +0000
committerHeikki Toivonen <heikki@heikkitoivonen.net>2008-09-04 01:16:36 +0000
commit84e0e7c598f3e9ca05a32adae341202d46ade959 (patch)
tree1095f67117381e84690f5f46131464522d5ab2da /M2Crypto/httpslib.py
parent6e5d56b8f6ac081f4039c2eff0e89265e60763b9 (diff)
downloadm2crypto-84e0e7c598f3e9ca05a32adae341202d46ade959.tar.gz
Bug 12333, httpslib.HTTPSConnection now raises ValueError for illegal keyword argument.
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@613 2715db39-9adf-0310-9c64-84f055769b4b
Diffstat (limited to 'M2Crypto/httpslib.py')
-rw-r--r--M2Crypto/httpslib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/M2Crypto/httpslib.py b/M2Crypto/httpslib.py
index bb7df94..ec8cbb4 100644
--- a/M2Crypto/httpslib.py
+++ b/M2Crypto/httpslib.py
@@ -35,7 +35,7 @@ class HTTPSConnection(HTTPConnection):
except ValueError:
pass
if keys:
- raise IllegalKeywordArgument()
+ raise ValueError('unknown keyword argument')
try:
self.ssl_ctx = ssl['ssl_context']
assert isinstance(self.ssl_ctx, SSL.Context), self.ssl_ctx