aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools/update-translations.py
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-03-28 16:06:11 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2018-03-28 16:10:19 +0200
commit624bee96597c1d59018e58131b8285c0b332700d (patch)
tree2259f1717fddc74269107ccc09c07773e3b9f34d /contrib/devtools/update-translations.py
parent0d8fc8de076d1447df63f4d348a19732f5a0d31e (diff)
parent18740586baee546064cba9286e2d681a849ae443 (diff)
downloadbitcoin-624bee96597c1d59018e58131b8285c0b332700d.tar.xz
Merge #11881: Remove Python2 support
1874058 Make base58 python contrib code work with python3 (Evan Klitzke) bc6fdf2 Change all python files to use Python3 (John Newbery) Pull request description: Following discussion here: https://github.com/bitcoin/bitcoin/pull/11843#issuecomment-351033742 It's easier for maintainers if all python tools/scripts support only a single version of Python. There are only a few scripts that aren't explicitly python3 at this point, so this PR changes those remaining scripts to explicitly require python3. Tree-SHA512: 5d38eef6e0fc7d8515e23a1f4c75e8b4160fd0fe23cba52a1f41689b114e54a9e503e0724829e8b41982ef98f2d113df80d9e238213b74f09ceaed0344a19e24
Diffstat (limited to 'contrib/devtools/update-translations.py')
-rwxr-xr-xcontrib/devtools/update-translations.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/devtools/update-translations.py b/contrib/devtools/update-translations.py
index e1924749d2..b36e6968bf 100755
--- a/contrib/devtools/update-translations.py
+++ b/contrib/devtools/update-translations.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright (c) 2014 Wladimir J. van der Laan
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -15,7 +15,6 @@ It will do the following automatically:
TODO:
- auto-add new translations to the build system according to the translation process
'''
-from __future__ import division, print_function
import subprocess
import re
import sys