Skip to content

Commit

Permalink
fix(middleware): Minor style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gupta-utkarsh committed Jul 6, 2017
1 parent 6c2a03f commit 8b0d1d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions middleware/metrics/__init__.py
@@ -1,3 +1,3 @@
from metrics_middleware import DatadogMiddleware
from middleware.metrics.metrics_middleware import DatadogMiddleware

__all__ = [DatadogMiddleware]
__all__ = ['DatadogMiddleware']
2 changes: 1 addition & 1 deletion middleware/metrics/metrics_middleware.py
Expand Up @@ -61,4 +61,4 @@ def process_exception(self, request, exception):
api.Event.create(title=title, text=text, tags=event_tags)

def _get_metric_tags(self, request):
return ['path:{0}'.format(request.path)]
return ['path:{0}'.format(request.path)]

0 comments on commit 8b0d1d8

Please sign in to comment.