drop PyOpenSSL usage

We've replaced it with requests library some time ago, this code has no
better sensitivity than requests error checking, so we can drop it
completely.

Fixes: https://pagure.io/koji/issue/2752
This commit is contained in:
Tomas Kopecek 2021-03-11 10:45:52 +01:00
parent 2dc537199a
commit ebdbb80e02
4 changed files with 1 additions and 64 deletions

View file

@ -36,17 +36,6 @@ import koji
import koji.tasks
class NoSuchException(Exception):
pass
try:
# pyOpenSSL might not be around
from OpenSSL.SSL import Error as SSL_Error
except Exception:
SSL_Error = NoSuchException
themeInfo = {}
themeCache = {}