changeset 324:c4061e57974c

svnwrap: Filter out deprecation warnings on 2.6.
author Augie Fackler <durin42@gmail.com>
date Mon, 18 May 2009 14:33:57 -0500
parents 067914ecb4eb
children 4f4db3d2fdbb
files svnwrap/svn_swig_wrapper.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/svnwrap/svn_swig_wrapper.py
+++ b/svnwrap/svn_swig_wrapper.py
@@ -9,6 +9,11 @@ import urllib
 import hashlib
 import collections
 
+import warnings
+warnings.filterwarnings('ignore',
+                        module='svn.core',
+                        category=DeprecationWarning)
+
 from svn import client
 from svn import core
 from svn import delta