gem/oq-hazardlib — pull request #158 by micheles (2014-01-22 09:08:21+00:00)
Title: Added a __repr__ to source objects

This is convenient in debugging. Also, if there is a slow source taking a lot of time in the computation, having the source_id in the `__repr__` make it possible to recognize which is the source. The usage is inspecting the arguments of a worker via celery.task.control.inspect.