silence PyCObject warnings in bsddb
This commit is contained in:
parent
7daf985feb
commit
7beeeb5713
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue