aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-passwordsafe/dont-require-py3-gettext-support.patch
blob: a91de27a33b38510888cc782307685f32b6a203c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
We build python3 without gettext support built-in, so these function calls _will_
fail.

diff --git a/passwordsafe.in b/passwordsafe.in
index b66e0c7..c68724d 100755
--- a/passwordsafe.in
+++ b/passwordsafe.in
@@ -31,8 +31,6 @@ def install_excepthook():
 if __name__ == "__main__":
     install_excepthook()
 
-    locale.bindtextdomain('passwordsafe', localedir)
-    locale.textdomain('passwordsafe')
     gettext.bindtextdomain('passwordsafe', localedir)
     gettext.textdomain('passwordsafe')