mozilla-services/mozservices — pull request #25 by rfk (2012-09-26 05:24:29+00:00)
Title: Compatability with latest cornice release.

This is my attempt to fix Issue #24, brining MetricsService up-to-date with latest cornice refactoring:

* We now need to specify the "depth" parameter for use by venusian
* Cornice no longer returns the decorated view function, but simply registers it with pyramid and returns the original function. For MetricsService we need to actually return the decorated function so I have overridden the "decorate" method accordingly.

@ametaireau r?