bug 783340 - changed raw statsd to use django-statsd #415

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+5 −5
Split
View
@@ -1,7 +1,7 @@
import json
import logging
import socket
-from statsd import statsd
+from django_statsd.clients import statsd
from mkt import regions
View
@@ -8,7 +8,7 @@
from django.conf import settings
import jwt
-from statsd import statsd
+from django_statsd.clients import statsd
import amo
from market.models import Price
View
@@ -17,7 +17,7 @@
setup_environ(settings)
# This has to be imported after the settings so statsd knows where to log to.
-from statsd import statsd
+from django_statsd.clients import statsd
# Go configure the log.
log_configure()
View
@@ -16,7 +16,7 @@
import settings_local as settings
setup_environ(settings)
# This has to be imported after the settings so statsd knows where to log to.
-from statsd import statsd
+from django_statsd.clients import statsd
try:
from compare import version_int
View
@@ -21,7 +21,7 @@
# This has to be imported after the settings (utils).
import receipts # used for patching in the tests
from receipts import certs
-from statsd import statsd
+from django_statsd.clients import statsd
class VerificationError(Exception):