From: Benjamin Peterson Date: Sat, 3 Apr 2010 15:38:38 +0000 (+0000) Subject: wrap X-Git-Tag: v2.7b1~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73541af85d329045c9778d571cd328e45dc0d6d4;p=python wrap --- diff --git a/Lib/dbhash.py b/Lib/dbhash.py index 77a878e964..2179c14b35 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: