This commit is contained in:
Benjamin Peterson 2010-04-03 15:38:38 +00:00
parent 3dd9f40d6d
commit 73541af85d
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
"""Provide a (g)dbm-compatible interface to bsddb.hashopen."""
import sys
if sys.py3kwarning:
import warnings
warnings.warnpy3k("in 3.x, the dbhash module has been removed", DeprecationWarning, 2)
import warnings
warnings.warnpy3k("in 3.x, the dbhash module has been removed",
DeprecationWarning, 2)
try:
import bsddb
except ImportError: