From 96b754c5ec95582547e703362acf876c01da3b97 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Fri, 29 Jan 2016 16:27:32 -0500 Subject: [PATCH] Switch to StatsClient from StatsClientBase So as not to use a purely abstract class --- awx/plugins/callback/job_event_callback.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/plugins/callback/job_event_callback.py b/awx/plugins/callback/job_event_callback.py index 064ca78c22..2d9bdde883 100644 --- a/awx/plugins/callback/job_event_callback.py +++ b/awx/plugins/callback/job_event_callback.py @@ -56,9 +56,9 @@ if os.environ.get('GRAPHITE_PORT_8125_UDP_ADDR'): prefix='tower.job.event_callback', maxudpsize=512) else: - from statsd.client import StatsClientBase + from statsd import StatsClient - class NoStatsClient(StatsClientBase): + class NoStatsClient(StatsClient): def __init__(self, *args, **kwargs): pass