message: Migrate update-translations.py to python3
diff: -#!/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
  @@ -36,12 +35,12 @@ def check_at_repository_root():
  if not os.path.exists('.git'):
  print('No .git directory found')
  print('Execute this script at the root of the repository', file=sys.stderr)
  - exit(1)
  + sys.exit(1)
  def fetch_all_translations():
  if subprocess.call([TX, 'pull', '-f', '-a']):
  print('Error while fetching translations', file=sys.stderr)
  - exit(1)
  + sys.exit(1)
  def find_format_specifiers(s):
  '''Find all format specifiers in a string.'''
  @@ -208,3 +207,4 @@ if __name__ == '__main__':
  check_at_repository_root()
  fetch_all_translations()
  postprocess_translations()
  +
  