From 43c9066b1889baaa0a6077399deb6a4d503551e6 Mon Sep 17 00:00:00 2001 From: Zhizhou Yang Date: Tue, 11 Feb 2020 16:56:57 -0800 Subject: toolchain-utils: migrate all in-use projects to python 3 This patch migrates all in-use projects left to python 3. BUG=chromium:1011676 TEST=Passed unittests and launched scripts manually. Change-Id: I7f2de4e1131c05bacfac80667f3064da8adaebfd Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2051397 Reviewed-by: George Burgess Tested-by: Zhizhou Yang Auto-Submit: Zhizhou Yang --- afdo_redaction/remove_indirect_calls.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'afdo_redaction/remove_indirect_calls.py') diff --git a/afdo_redaction/remove_indirect_calls.py b/afdo_redaction/remove_indirect_calls.py index b879b2f0..0dc15077 100755 --- a/afdo_redaction/remove_indirect_calls.py +++ b/afdo_redaction/remove_indirect_calls.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2019 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be @@ -21,7 +21,6 @@ from __future__ import division, print_function import argparse import re -import sys def _remove_indirect_call_targets(lines): -- cgit v1.2.3