libreoffice-online/scripts
Michael Weghorn c1e04e4069 scripts/unocommands.py: Switch to python3
Files not explicitly opened in binary mode are text files and thus
expect a 'str' arg for their write() method.

Python 2 is nearing its EOL and e.g. Debian has already
removed the python2-based 'python-polib' package previously
used here from its testing distribution.

I checked that running the commands

    ./scripts/unocommands.py --update . ../libreoffice
    ./scripts/unocommands.py --translate . ../libreoffice/translations
    ./scripts/unocommands.py --check .

still yields the same results as previously.

Change-Id: I39e1785d3c78416009420dd4c2be58bd1c3647c3
Reviewed-on: https://gerrit.libreoffice.org/81422
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Tested-by: Michael Stahl <michael.stahl@cib.de>
2019-10-24 14:07:47 +02:00
..
downloadpootle.sh force overwrite of ios-*.po when downloading from Pootle 2019-06-20 12:12:28 +02:00
locorestrings.py enable l10n of shape group names of insert shapes dropdown panel 2018-12-27 22:31:35 +01:00
logparse.pl
perftrace.pl perftrace: fix time parsing issue. 2019-04-19 23:51:26 +01:00
segv-catch.pl
unocommands.py scripts/unocommands.py: Switch to python3 2019-10-24 14:07:47 +02:00
untranslated.py