Skip to content

Commit

Permalink
Convert PRESUBMIT.py to python3
Browse files Browse the repository at this point in the history
Bug: 1211962
Change-Id: I4f4520e4f458ace468dfba144b68c7a60e11388a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2931077
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Commit-Queue: Dan H <harringtond@chromium.org>
Cr-Commit-Position: refs/heads/master@{#888494}
  • Loading branch information
Dan Harrington authored and Chromium LUCI CQ committed Jun 2, 2021
1 parent dc0a27c commit 0e54c59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions chrome/PRESUBMIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
for more details about the presubmit API built into depot_tools.
"""

USE_PYTHON3 = True

import re

INCLUDE_CPP_FILES_ONLY = (
Expand Down
2 changes: 1 addition & 1 deletion chrome/PRESUBMIT_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
Expand Down

0 comments on commit 0e54c59

Please sign in to comment.