SOURCES: python-Crypto-warn.patch (NEW) - silencio

arekm arekm at pld-linux.org
Sat Dec 6 13:33:40 CET 2008


Author: arekm                        Date: Sat Dec  6 12:33:40 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- silencio

---- Files affected:
SOURCES:
   python-Crypto-warn.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/python-Crypto-warn.patch
diff -u /dev/null SOURCES/python-Crypto-warn.patch:1.1
--- /dev/null	Sat Dec  6 13:33:40 2008
+++ SOURCES/python-Crypto-warn.patch	Sat Dec  6 13:33:34 2008
@@ -0,0 +1,24 @@
+--- pycrypto-2.0.1/./Hash/SHA.py~	2002-07-11 16:31:19.000000000 +0200
++++ pycrypto-2.0.1/./Hash/SHA.py	2008-12-06 13:31:00.044862198 +0100
+@@ -3,6 +3,9 @@
+ 
+ __revision__ = "$Id$"
+ 
++from warnings import filterwarnings
++filterwarnings('ignore', '.* sha module', DeprecationWarning)
++
+ from sha import *
+ import sha
+ if hasattr(sha, 'digestsize'):
+--- pycrypto-2.0.1/./Hash/MD5.py~	2002-07-11 16:31:19.000000000 +0200
++++ pycrypto-2.0.1/./Hash/MD5.py	2008-12-06 13:31:11.014860719 +0100
+@@ -3,6 +3,9 @@
+ 
+ __revision__ = "$Id$"
+ 
++from warnings import filterwarnings
++filterwarnings('ignore', '.* md5 module', DeprecationWarning)
++
+ from md5 import *
+ 
+ import md5
================================================================


More information about the pld-cvs-commit mailing list