commit | 7beeeb5713e355cbeb0c6d26e256d13ce5e4761a | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Apr 03 15:44:56 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Apr 03 15:44:56 2010 +0000 |
tree | 84821fde3b83cf7b19d53d1f7de5c1b3420b43f1 | |
parent | 7daf985febff800015ab428117b82aa92f9ad66c [diff] |
silence PyCObject warnings in bsddb
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 @@ 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':