From ac4815e13bfa75c1ff97d1b805a2dde1484fa522 Mon Sep 17 00:00:00 2001 From: Geoff Brown Date: Mon, 4 May 2015 11:22:56 -0600 Subject: [PATCH] Bug 1160351 - Bustage fix for 57c6c589cfa1 on a CLOSED TREE --- testing/mozbase/mozdevice/mozdevice/devicemanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/mozbase/mozdevice/mozdevice/devicemanager.py b/testing/mozbase/mozdevice/mozdevice/devicemanager.py index 827c11cbd7e2..d697f12b75a0 100644 --- a/testing/mozbase/mozdevice/mozdevice/devicemanager.py +++ b/testing/mozbase/mozdevice/mozdevice/devicemanager.py @@ -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)]