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:
parent
2dc537199a
commit
ebdbb80e02
4 changed files with 1 additions and 64 deletions
|
|
@ -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 = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue