diff options
| -rw-r--r-- | Lib/bsddb/__init__.py | 1 |
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': |
