From 6bdf476e43200fefb09a11ea1f6312ca8735fd52 Mon Sep 17 00:00:00 2001 From: Ross Brattain Date: Mon, 3 Apr 2017 23:46:21 -0700 Subject: cachestat: use raw strings to escape \d Change-Id: Iff40f7c938af0d7c148c708eed19095b140ccb8b Signed-off-by: Ross Brattain --- yardstick/benchmark/scenarios/compute/cachestat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- cgit 1.2.3-korg