pymad / cpymad

cPyMAD is a python interface to Mad-X using cython and libmadx
http://cern.ch/pymad
Apache License 2.0
3 stars 3 forks source link

Use `logging` instead of `print` #40

Closed coldfix closed 10 years ago

coldfix commented 10 years ago

Use the logging module for all output rather than print.

Rationale:

I suggest to write any new output using the logging module. At some point we might want to convert old code.

coldfix commented 10 years ago

I implemented this in the associated pull-request.

I hope the CERN folks get MAD-X revision working again, so the Travis tests become useful once more.