hynek / pem

PEM file parsing in Python.
https://pem.readthedocs.io/
MIT License
159 stars 37 forks source link

Finish deprecation of functions in __init__ #16

Closed rm-you closed 8 years ago

rm-you commented 8 years ago

Importing from twisted in init means twisted and pyopenssl are required dependencies for core as well. Finish removing these methods to remove the depencency on twisted and pyopenssl.

Removing deprecated functions:

hynek commented 8 years ago

Deprecation interval is 1 year. But yeah, I completely fucked this up. You could fix it by moving the imports into the compatibility functions I think?

rm-you commented 8 years ago

Does this look better?

hynek commented 8 years ago

No, I’m sorry but that’s not what I had in mind. Before I keep you busy with my confusing pipe dreams, I had a shot myself. Can you confirm that d097f44 fixed your problem?

rm-you commented 8 years ago

Yeah, it appears to have fixed it. No worries, just wanted it to work, and now it does! Thanks! :)