]> granicus.if.org Git - python/commit
fail more completely by deleting dbhash from sys.modules if bsddb can't be
authorSkip Montanaro <skip@pobox.com>
Thu, 25 Jan 2001 13:47:00 +0000 (13:47 +0000)
committerSkip Montanaro <skip@pobox.com>
Thu, 25 Jan 2001 13:47:00 +0000 (13:47 +0000)
commit438bb947893e92455decfaadd739034fe26e192a
treea0c6a0090ef5ff1b93d03755e03a883045fc65bf
parent82e00d63506dd024098dda75114cb7839c6d92c6
fail more completely by deleting dbhash from sys.modules if bsddb can't be
loaded - prevents second import later from succeeding spuriously - mostly of
use in regression tests where the module might get imported more than once
Lib/dbhash.py