diff options
Diffstat (limited to 'Lib/dbhash.py')
-rw-r--r-- | Lib/dbhash.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/dbhash.py b/Lib/dbhash.py index 77a878e..2179c14 100644 --- a/Lib/dbhash.py +++ b/Lib/dbhash.py @@ -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: |