summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-04-03 15:44:56 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-04-03 15:44:56 (GMT)
commit7beeeb5713e355cbeb0c6d26e256d13ce5e4761a (patch)
tree84821fde3b83cf7b19d53d1f7de5c1b3420b43f1 /Lib/bsddb
parent7daf985febff800015ab428117b82aa92f9ad66c (diff)
downloadcpython-7beeeb5713e355cbeb0c6d26e256d13ce5e4761a.zip
cpython-7beeeb5713e355cbeb0c6d26e256d13ce5e4761a.tar.gz
cpython-7beeeb5713e355cbeb0c6d26e256d13ce5e4761a.tar.bz2
silence PyCObject warnings in bsddb
Diffstat (limited to 'Lib/bsddb')
-rw-r--r--Lib/bsddb/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/bsddb/__init__.py b/Lib/bsddb/__init__.py
index dfa8a66..b935631 100644
--- a/Lib/bsddb/__init__.py
+++ b/Lib/bsddb/__init__.py
@@ -48,6 +48,7 @@ if (sys.version_info >= (2, 6)) and (sys.version_info < (3, 0)) :
warnings.warnpy3k("in 3.x, the bsddb module has been removed; "
"please use the pybsddb project instead",
DeprecationWarning, 2)
+ warnings.filterwarnings("*PyCObject*", DeprecationWarning, "_bsddb")
try:
if __name__ == 'bsddb3':