SOURCES: mailman-python2.6.patch (NEW) - shut up deprecation warnings in py...
baggins
baggins at pld-linux.org
Wed Oct 15 12:58:29 CEST 2008
Author: baggins Date: Wed Oct 15 10:58:29 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- shut up deprecation warnings in python 2.6
---- Files affected:
SOURCES:
mailman-python2.6.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/mailman-python2.6.patch
diff -u /dev/null SOURCES/mailman-python2.6.patch:1.1
--- /dev/null Wed Oct 15 12:58:29 2008
+++ SOURCES/mailman-python2.6.patch Wed Oct 15 12:58:23 2008
@@ -0,0 +1,27 @@
+--- mailman-2.1.11/Mailman/Utils.py~ 2008-06-30 18:29:46.000000000 +0200
++++ mailman-2.1.11/Mailman/Utils.py 2008-10-15 12:47:17.000000000 +0200
+@@ -28,6 +28,10 @@
+
+ import os
+ import re
++
++from warnings import filterwarnings
++filterwarnings('ignore', '.* sha module', DeprecationWarning)
++
+ import cgi
+ import sha
+ import time
+--- mailman-2.1.11/Mailman/SecurityManager.py~ 2008-06-30 18:29:46.000000000 +0200
++++ mailman-2.1.11/Mailman/SecurityManager.py 2008-10-15 12:55:04.000000000 +0200
+@@ -49,6 +49,11 @@
+
+ import os
+ import re
++
++from warnings import filterwarnings
++filterwarnings('ignore', '.* sha module', DeprecationWarning)
++filterwarnings('ignore', '.* md5 module', DeprecationWarning)
++
+ import sha
+ import time
+ import Cookie
================================================================
More information about the pld-cvs-commit
mailing list