aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJing Lu <lvjing5@huawei.com>2017-05-04 02:20:53 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-04 02:20:53 +0000
commit057a75ffb04deb5bf7baf858990b125c525e58f7 (patch)
tree2fd3617756404231233d29035f5196a85f3a7b49
parentfae70e08d91ff09b175098ef2f0fdef894bbb138 (diff)
parentf293cda5a07a2bf38e2efd325c35af526c4cf10d (diff)
Merge "cachestat: use raw strings to escape \d" into stable/danube
-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 b4c3463e5..8873b9683 100644
--- a/yardstick/benchmark/scenarios/compute/cachestat.py
+++ b/yardstick/benchmark/scenarios/compute/cachestat.py
@@ -103,7 +103,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}