summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack <jack@db.2.localnet.cc>2015-07-04 20:19:22 +0000
committerJack <jack@db.2.localnet.cc>2015-07-04 20:19:22 +0000
commit5904c4f9a596dcf96d328914ad9b93be1a138c74 (patch)
treed32c51c779fd0fcda8848f4b2d61299652b46608
parent095cec445973b55c36d857bee83a56e0ac8b7fed (diff)
downloadpyinflux-5904c4f9a596dcf96d328914ad9b93be1a138c74.tar.gz
pyinflux-5904c4f9a596dcf96d328914ad9b93be1a138c74.zip
failing test
-rw-r--r--pyinfluxtools/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyinfluxtools/__init__.py b/pyinfluxtools/__init__.py
index dd7d0a5..6e10914 100644
--- a/pyinfluxtools/__init__.py
+++ b/pyinfluxtools/__init__.py
@@ -83,6 +83,8 @@ class Write(object):
Traceback (most recent call last):
...
ValueError: invalid literal for int() with base 10: '1231abcdef123'
+ >>> print(Write.parse('cpu field="hello World"'))
+ null
"""
def unescape(string):
return re.sub(r'(?<!\\)([\\,=])', '', string)