eprintsug / DataCiteDoi

Registration of DOIs via DataCite
GNU General Public License v3.0
2 stars 5 forks source link

Change SSL library imports to reduce verbosity #42

Closed goetzk closed 5 years ago

goetzk commented 5 years ago

The original warning system meant a warning was generated on every import, even if the relevant libraries weren't intended for use. By importing once we load sub datacite_doi we can check the repository configuration and only warn conditionally based on configuration.

This PR closes #41 .