From 48ad72e9eb0cc497b47fc305b10a6223a52184f3 Mon Sep 17 00:00:00 2001 From: Florent Castelli Date: Mon, 4 Apr 2022 14:55:16 +0200 Subject: [PATCH] tools: Fix gn_check_autofix.py with Python3 Bug: None Change-Id: Ib81f02823cae4a10697566d5889d4814a0184503 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/257903 Auto-Submit: Florent Castelli Reviewed-by: Mirko Bonadei Commit-Queue: Mirko Bonadei Cr-Commit-Position: refs/heads/main@{#36425} --- tools_webrtc/gn_check_autofix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools_webrtc/gn_check_autofix.py b/tools_webrtc/gn_check_autofix.py index 88ba0cc749..1a9389806a 100644 --- a/tools_webrtc/gn_check_autofix.py +++ b/tools_webrtc/gn_check_autofix.py @@ -165,7 +165,7 @@ def main(): return 1 for error in errors: - error = error.split('\\n') + error = error.split('\n') target_msg = 'The target:' if target_msg not in error: target_msg = 'It is not in any dependency of'