File mailman-2.1.5-no_extra_asian.dif of Package mailman.openSUSE_Leap_15.1_Update

--- misc/paths.py.in
+++ misc/paths.py.in
@@ -70,14 +70,14 @@
 # In a normal interactive Python environment, the japanese.pth and korean.pth
 # files would be imported automatically.  But because we inhibit the importing
 # of the site module, we need to be explicit about importing these codecs.
-if not jaok:
-    import japanese
+# if not jaok:
+#    import japanese
 # As of KoreanCodecs 2.0.5, you had to do the second import to get the Korean
 # codecs installed, however leave the first import in there in case an upgrade
 # changes this.
-if not kook:
-    import korean
-    import korean.aliases
+# if not kook:
+#     import korean
+#    import korean.aliases
 # Arabic and Hebrew (RFC-1556) encoding aliases. (temporary solution)
 import encodings.aliases
 encodings.aliases.aliases.update({
openSUSE Build Service is sponsored by