Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
bug 783340 - changed raw statsd to use django-statsd (which can be ba…
Browse files Browse the repository at this point in the history
…cked by metlog)
  • Loading branch information
crankycoder committed Sep 28, 2012
1 parent 8bb4df7 commit f6f22c1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/geoip/__init__.py
@@ -1,7 +1,7 @@
import json
import logging
import socket
from statsd import statsd
from django_statsd.clients import statsd

from mkt import regions

Expand Down
2 changes: 1 addition & 1 deletion mkt/inapp_pay/verify.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/pfs.py
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion services/update.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/verify.py
Expand Up @@ -26,7 +26,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):
Expand Down

0 comments on commit f6f22c1

Please sign in to comment.