diff options
author | 2017-05-02 13:07:53 +0200 | |
---|---|---|
committer | 2017-05-02 15:44:30 +0200 | |
commit | adb15a606e42dc4feac03353c8b2587c5d3c78c6 (patch) | |
tree | 5caf9db15894afbb538561915a6b734ae3f55095 /tools/build_defs/hash | |
parent | 6e12e656722b32b25a4278e8211b8f0b2b01c0fd (diff) |
Make tools/build_defs/hash/sha256.py py3 compatible
Closes #2866.
PiperOrigin-RevId: 154817470
Diffstat (limited to 'tools/build_defs/hash')
-rw-r--r-- | tools/build_defs/hash/sha256.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/build_defs/hash/sha256.py b/tools/build_defs/hash/sha256.py index b1e062436d..12c39dfdc2 100644 --- a/tools/build_defs/hash/sha256.py +++ b/tools/build_defs/hash/sha256.py @@ -20,7 +20,8 @@ import sys if __name__ == "__main__": if len(sys.argv) != 3: - print "Usage: %s input output" % sys.argv[0] + # pylint: disable=superfluous-parens + print("Usage: %s input output" % sys.argv[0]) sys.exit(-1) with open(sys.argv[2], "w") as outputfile: with open(sys.argv[1], "rb") as inputfile: |