You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.0 KiB

  1. --- a/Mailman/MailList.py
  2. +++ b/Mailman/MailList.py
  3. @@ -30,7 +30,7 @@ import re
  4. import shutil
  5. import socket
  6. import urllib
  7. -import cPickle
  8. +import pickle as cPickle
  9. from cStringIO import StringIO
  10. from UserDict import UserDict
  11. --- a/misc/paths.py.in
  12. +++ b/misc/paths.py.in
  13. @@ -71,14 +71,14 @@ sys.path.append(distdir)
  14. # In a normal interactive Python environment, the japanese.pth and korean.pth
  15. # files would be imported automatically. But because we inhibit the importing
  16. # of the site module, we need to be explicit about importing these codecs.
  17. -if not jaok:
  18. - import japanese
  19. +#if not jaok:
  20. +# import japanese
  21. # As of KoreanCodecs 2.0.5, you had to do the second import to get the Korean
  22. # codecs installed, however leave the first import in there in case an upgrade
  23. # changes this.
  24. -if not kook:
  25. - import korean
  26. - import korean.aliases
  27. +#if not kook:
  28. +# import korean
  29. +# import korean.aliases
  30. # Arabic and Hebrew (RFC-1556) encoding aliases. (temporary solution)
  31. import encodings.aliases
  32. encodings.aliases.aliases.update({