From aa86121cd7a4962052b4651f4338d41bfd120438 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sun, 13 Mar 2016 13:53:48 +0100 Subject: Pluck more unrelated bits from #422 --- src/OpenSSL/_util.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/OpenSSL/_util.py') 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) -- cgit v1.2.1