summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRex Lee <limingjiang@huawei.com>2017-05-03 03:51:36 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-03 03:51:36 +0000
commitea12d172d6ce24e8a21f0509e8fb286bc9fcbf14 (patch)
tree1e157679bec8df98fe179a4e6e743ed3412dee09
parent284c0a3e13aa1c3cc83bac3d4c9d6b69fc479b79 (diff)
parent6bdf476e43200fefb09a11ea1f6312ca8735fd52 (diff)
Merge "cachestat: use raw strings to escape \d"
-rw-r--r--yardstick/benchmark/scenarios/compute/cachestat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/scenarios/compute/cachestat.py b/yardstick/benchmark/scenarios/compute/cachestat.py
index a365968c7..40f6ed773 100644
--- a/yardstick/benchmark/scenarios/compute/cachestat.py
+++ b/yardstick/benchmark/scenarios/compute/cachestat.py
@@ -97,7 +97,7 @@ class CACHEstat(base.Scenario):
def _filtrate_result(self, result):
fields = []
cachestat = {}
- data_marker = re.compile("\d+")
+ data_marker = re.compile(r"\d+")
ite = 0
average = {'HITS': 0, 'MISSES': 0, 'DIRTIES': 0, 'RATIO': 0,
'BUFFERS_MB': 0, 'CACHE_MB': 0}