We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5349248 commit 364c8a7Copy full SHA for 364c8a7
2 files changed
riemann_client/client.py
@@ -153,7 +153,8 @@ def create_dict(event):
153
value = list(value)
154
elif descriptor.name == 'attributes':
155
value = dict(((a.key, a.value) for a in value))
156
- elif descriptor.type == google.protobuf.descriptor.FieldDescriptor.TYPE_FLOAT:
+ elif descriptor.type == \
157
+ google.protobuf.descriptor.FieldDescriptor.TYPE_FLOAT:
158
value = round(value, 1)
159
data[descriptor.name] = value
160
tox.ini
@@ -38,7 +38,7 @@ exclude_lines=
38
# $ tox -e docs && firefox docs/_build/index.hmtl
39
40
[testenv:docs]
41
-basepython=python2.6
+basepython=python2.7
42
commands=sphinx-build -q -QE docs/ docs/_build/
43
deps=
44
sphinx
0 commit comments