auto-changelog: Remove latin1 from codecs

Bruno Haible had pointed out that latin1 is a subset of cp1252 and is
hence redundant.  I forgot to remove it back then.
This commit is contained in:
Siddhesh Poyarekar 2019-09-26 12:04:26 -07:00
parent b2b3b7598a
commit 8b45cac079
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
* scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
from codecs.
2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org> 2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ... * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...

View File

@ -40,7 +40,7 @@ def decode(string):
Decode a string read from the source file. The multiple attempts are needed Decode a string read from the source file. The multiple attempts are needed
due to the presence of the page break characters and some tests in locales. due to the presence of the page break characters and some tests in locales.
''' '''
codecs = ['utf8', 'latin1', 'cp1252'] codecs = ['utf8', 'cp1252']
for i in codecs: for i in codecs:
try: try: