зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1160351 - Bustage fix for 57c6c589cfa1 on a CLOSED TREE
This commit is contained in:
Родитель
0fa6a41d07
Коммит
ac4815e13b
|
@ -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)]
|
||||
|
|
Загрузка…
Ссылка в новой задаче