Bug 1160351 - Bustage fix for 57c6c589cfa1 on a CLOSED TREE

This commit is contained in:
Geoff Brown 2015-05-04 11:22:56 -06:00
Родитель 0fa6a41d07
Коммит ac4815e13b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -158,7 +158,7 @@ class DeviceManager(object):
cmdline = ["/system/bin/logcat", "-v", format, "-d"] + filterSpecs
output = self.shellCheckOutput(cmdline,
root=self._logcatNeedsRoot)
lines = output.replace('\r\n', '\n').splitlines(keepends=True)
lines = output.replace('\r\n', '\n').splitlines(True)
for regex in filterOutRegexps:
lines = [line for line in lines if not re.search(regex, line)]