Commit Graph

3 Commits (chrome/3865)

Author SHA1 Message Date
Raul Tambre 80ee78e7fa Convert print statements to Python 3 style
Ran "2to3 -w -n -f print ./" and manually added imports.
Ran "^\s*print " and "\s+print " to find batch/shell scripts, comments and the like with embedded code, and updated them manually.
Also manually added imports to files, which used print as a function, but were missing the import.

The scripts still work with Python 2.
There are no intended behaviour changes.

Bug: 942522
Change-Id: Id777e4d4df4adcdfdab1b18bde89f235ef491b9f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1595684
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@chromium.org>
Auto-Submit: Raul Tambre <raul@tambre.ee>
6 years ago
stip@chromium.org 2b2b3708c9 Send build revision as json object.
Will cause buildbot exceptions otherwise.

TBR=maruel@chromium.org

Review URL: https://codereview.chromium.org/78843007

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@236437 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
stip@chromium.org a3d7c4b3b7 Add got_revision support for apply_issue.
BUG=170427

Review URL: https://codereview.chromium.org/60613005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@236101 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago