Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: client/cros/cros_ui_test.py

Issue 6690056: Revert "Support rotated logs." (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/cros/cros_logging.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/cros/cros_ui_test.py
diff --git a/client/cros/cros_ui_test.py b/client/cros/cros_ui_test.py
index 4a08a83b8fb6de0a9f5667ea5c3ef89ebc387bc1..6638598aaa68001654b13dee927948a9c8c2f7f7 100644
--- a/client/cros/cros_ui_test.py
+++ b/client/cros/cros_ui_test.py
@@ -299,7 +299,7 @@ class UITest(test.test):
logout_complete_regex = re.compile(login.LOGOUT_COMPLETE_MSG)
in_logout = False
- for line in self._log_reader.get_logs().splitlines():
+ for line in self._log_reader.get_logs().split('\n'):
if logout_start_regex.search(line):
in_logout = True
elif logout_complete_regex.search(line):
« no previous file with comments | « client/cros/cros_logging.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698