sdss / python_template

The SDSS Python template and coding standards.
http://sdss-python-template.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

logging.PercentStyle not available in Python 2.7 #11

Closed andycasey closed 5 years ago

andycasey commented 5 years ago

Hi,

logging.PercentStyle is not available in Python 2.7, causing the Travis build to fail when using a clean version of python_template. A failed build is available here.

This is a proposed fix that incorporates the PercentStyle object if it cannot be incorporated from the logging module.

albireox commented 5 years ago

Hi Andy,

Sorry for the massive delay with this. It kept falling off my radar. Thanks for the PR. I'll merge it but I think I'm going to replace parts of the logging system based on your opened issues and some other problems that I've found. I think I now have a (hopefully) more robust version. Stay tuned.