diff options
author | Hynek Schlawack <hs@ox.cx> | 2016-03-13 13:53:48 +0100 |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2016-03-13 13:53:48 +0100 |
commit | aa86121cd7a4962052b4651f4338d41bfd120438 (patch) | |
tree | ba1988acdf11da3a3919b91f4546027c8424d332 /src/OpenSSL/_util.py | |
parent | 43dcebbf21b4ae0d5b5fa54dbe9e157b59ef6902 (diff) | |
download | pyopenssl-aa86121cd7a4962052b4651f4338d41bfd120438.tar.gz |
Pluck more unrelated bits from #422
Diffstat (limited to 'src/OpenSSL/_util.py')
-rw-r--r-- | src/OpenSSL/_util.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/OpenSSL/_util.py b/src/OpenSSL/_util.py index b68b11e..48bcbf5 100644 --- a/src/OpenSSL/_util.py +++ b/src/OpenSSL/_util.py @@ -34,7 +34,6 @@ def exception_from_error_queue(exception_type): associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ - errors = [] while True: @@ -56,7 +55,7 @@ def make_assert(error): """ def openssl_assert(ok): """ - If ok is not true-ish, retrieve the error from OpenSSL and raise it. + If *ok* is not True, retrieve the error from OpenSSL and raise it. """ if ok is not True: exception_from_error_queue(error) |