about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@gotplt.org>2019-09-26 12:04:26 -0700
committerSiddhesh Poyarekar <siddhesh@gotplt.org>2019-09-26 12:04:26 -0700
commit8b45cac07907c1cd515240b284d4702c81b525d7 (patch)
tree9ffacce5892b082207e3c4428387599885a78392 /scripts
parentb2b3b7598ae51c714b5fd0d0406d435e66f3624b (diff)
downloadglibc-8b45cac07907c1cd515240b284d4702c81b525d7.tar.gz
glibc-8b45cac07907c1cd515240b284d4702c81b525d7.tar.xz
glibc-8b45cac07907c1cd515240b284d4702c81b525d7.zip
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vcs_to_changelog/misc_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vcs_to_changelog/misc_util.py b/scripts/vcs_to_changelog/misc_util.py
index 51632f6f4a..b425bec300 100644
--- a/scripts/vcs_to_changelog/misc_util.py
+++ b/scripts/vcs_to_changelog/misc_util.py
@@ -40,7 +40,7 @@ def decode(string):
     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.
     '''
-    codecs = ['utf8', 'latin1', 'cp1252']
+    codecs = ['utf8', 'cp1252']
 
     for i in codecs:
         try: