##// END OF EJS Templates
statsd: added special repr for statsdclient for nicer debug
super-admin -
r5323:905c58f2 default
parent child Browse files
Show More
@@ -25,6 +25,9 b' class StatsdClientClass(Singleton):'
25 statsd_client = None
25 statsd_client = None
26 statsd = None
26 statsd = None
27
27
28 def __repr__(self):
29 return f"{self.__class__}(statsd={self.statsd})"
30
28 def __getattribute__(self, name):
31 def __getattribute__(self, name):
29
32
30 if name.startswith("statsd"):
33 if name.startswith("statsd"):
General Comments 0
You need to be logged in to leave comments. Login now