summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2020-11-23 10:56:55 +0100
committerSebastian Pipping <sping@gentoo.org>2020-11-23 11:01:33 +0100
commit65bc5419077193c4275df2b9d312e9199ae2f1a0 (patch)
treef4f03d9c15258fa3fb77842af53d319d8c1d3abf
parentDrop leftover/ouf-of-sync comments on use of lgettext (diff)
downloadelogv-65bc5419077193c4275df2b9d312e9199ae2f1a0.tar.gz
elogv-65bc5419077193c4275df2b9d312e9199ae2f1a0.tar.bz2
elogv-65bc5419077193c4275df2b9d312e9199ae2f1a0.zip
Stop calling deprecated gettext.bind_textdomain_codeset
Deprecated since Python 3.8, will be removed with Python 3.10. Closes: https://bugs.gentoo.org/756019 Related: a98c6ba7eabcdeafaf7bf27263073b77fd26a0d3 Signed-off-by: Sebastian Pipping <sping@gentoo.org>
-rwxr-xr-xelogv1
1 files changed, 0 insertions, 1 deletions
diff --git a/elogv b/elogv
index 377aa20..7e1e37f 100755
--- a/elogv
+++ b/elogv
@@ -101,7 +101,6 @@ if reported_bad_locales:
# Setup gettext.
gettext.textdomain('elogv')
-gettext.bind_textdomain_codeset('elogv', locale.getpreferredencoding())
_ = gettext.gettext
# This text is used on the in-line help