You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a "contents" function that returns the content of the cert chain. (#116)
* Add a "what" function that returns the content of the cert chain.
* Use read_text because it makes more sense.
* Oh, and specify encoding.
* Add a workaround for pre-3.7 version of Python.
This workaround won't work in PyOxidizer but it allows those to
keep working while allowing 3.7+ usage in PyOxidizer.
* Rename "what()" to "contents()".
* Fix __main__ after the change from what() to contents().
* Update docstring.
* Add a comment describing when the fallback is used.
* Black keeps nagging me.
* Missed this after the what->contents change.
* Use a with statement to make sure things get dealt with properly.
0 commit comments