#55 catch pyssl import errors
Merged by mikem. Opened by mikem.
https://github.com/mikem23/koji-playground.git master

Download 55.patch
no initial comment

Needed on older versions of python where the builtin ssl lib does not exist

small change, please review and reply here. only merge if it can be fast-forwarded -- I can rebase easily if needed

if there is no pyssl what will happen? seems the code should blow up later when trying to use pyssl

The only place it is used is wrapped in "if sys.version_info[:3] >= (2, 7, 9):"

Pull-Request has been rebased

:+1: here.

It will blow up later, but yes only if its on a future version of python. This gets imports of the koji module working on py3, even if pyssl support isn't there yet.

I intend to move to using python-requests, which will get rid of a lot of this ugliness.

Pull-Request has been rebased

Pull-Request has been merged by mikem

Metadata