aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python
diff options
context:
space:
mode:
authorsugandhagupta <sugandha.gupta@ettus.com>2018-03-01 18:13:32 -0800
committerMartin Braun <martin.braun@ettus.com>2018-03-01 18:22:51 -0800
commit8ff61759600b77dac4e5213ef54f6f938443624c (patch)
treed51afdf0835339671b9492eb6efad23bb1f38f93 /mpm/python
parent00322c0aeeba377e293dfc5c180c65ab587c9bef (diff)
downloaduhd-8ff61759600b77dac4e5213ef54f6f938443624c.tar.gz
uhd-8ff61759600b77dac4e5213ef54f6f938443624c.tar.bz2
uhd-8ff61759600b77dac4e5213ef54f6f938443624c.zip
mpm: n3xx_bist: Fix regex to match with optional space
Fix regex so it matches an optional additional space. Signed-off-by: Sugandha Gupta <sugandha.gupta@ettus.com>
Diffstat (limited to 'mpm/python')
-rwxr-xr-xmpm/python/n3xx_bist2
1 files changed, 1 insertions, 1 deletions
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<thrup>[0-9.]+)MB", output)
+ mobj = re.search(r"Throughput: (?P<thrup>[0-9.]+)\s?MB", output)
if mobj is not None:
result['throughput'] = float(mobj.group('thrup')) * 1000
else: