Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../opt/imh-pyth.../lib/python2....
File: dbhash.py
"""Provide a (g)dbm-compatible interface to bsddb.hashopen."""
[0] Fix | Delete
[1] Fix | Delete
import sys
[2] Fix | Delete
import warnings
[3] Fix | Delete
warnings.warnpy3k("in 3.x, the dbhash module has been removed", stacklevel=2)
[4] Fix | Delete
try:
[5] Fix | Delete
import bsddb
[6] Fix | Delete
except ImportError:
[7] Fix | Delete
# prevent a second import of this module from spuriously succeeding
[8] Fix | Delete
del sys.modules[__name__]
[9] Fix | Delete
raise
[10] Fix | Delete
[11] Fix | Delete
__all__ = ["error","open"]
[12] Fix | Delete
[13] Fix | Delete
error = bsddb.error # Exported for anydbm
[14] Fix | Delete
[15] Fix | Delete
def open(file, flag = 'r', mode=0666):
[16] Fix | Delete
return bsddb.hashopen(file, flag, mode)
[17] Fix | Delete
[18] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function