mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
Fix % formatting style in miscellaneous places.
(imported from commit 917196024c981f879355c728da9b4590e964eeef)
This commit is contained in:
@@ -28,9 +28,9 @@ class StatsDWrapper(object):
|
||||
"""Set a gauge value."""
|
||||
from django_statsd.clients import statsd
|
||||
if delta:
|
||||
value = '%+g|g' % value
|
||||
value = '%+g|g' % (value,)
|
||||
else:
|
||||
value = '%g|g' % value
|
||||
value = '%g|g' % (value,)
|
||||
statsd._send(stat, value, rate)
|
||||
|
||||
def __getattr__(self, name):
|
||||
|
||||
Reference in New Issue
Block a user