blob: b5579e5b635df93151db640ee78499226af1b9c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# Copyright (C) 2013-2017 Intel Corporation
#
# Released under the MIT license (see COPYING.MIT)
def getline(data, line):
_line = ''
for l in data.split('\n'):
if line in l:
_line = l
break
return _line
|