From 8ff61759600b77dac4e5213ef54f6f938443624c Mon Sep 17 00:00:00 2001 From: sugandhagupta Date: Thu, 1 Mar 2018 18:13:32 -0800 Subject: mpm: n3xx_bist: Fix regex to match with optional space Fix regex so it matches an optional additional space. Signed-off-by: Sugandha Gupta --- mpm/python/n3xx_bist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpm/python/n3xx_bist b/mpm/python/n3xx_bist index 22f56be84..14f9370d0 100755 --- a/mpm/python/n3xx_bist +++ b/mpm/python/n3xx_bist @@ -406,7 +406,7 @@ class N310BIST(object): )) result['error_msg'] = ex.output output = ex.output - mobj = re.search(r"Throughput: (?P[0-9.]+)MB", output) + mobj = re.search(r"Throughput: (?P[0-9.]+)\s?MB", output) if mobj is not None: result['throughput'] = float(mobj.group('thrup')) * 1000 else: -- cgit v1.2.3