]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/dbhash.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / dbhash.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/dbhash.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/dbhash.py
deleted file mode 100644 (file)
index 22a5dff..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-"""Provide a (g)dbm-compatible interface to bsddb.hashopen."""\r
-\r
-import sys\r
-import warnings\r
-warnings.warnpy3k("in 3.x, the dbhash module has been removed", stacklevel=2)\r
-try:\r
-    import bsddb\r
-except ImportError:\r
-    # prevent a second import of this module from spuriously succeeding\r
-    del sys.modules[__name__]\r
-    raise\r
-\r
-__all__ = ["error","open"]\r
-\r
-error = bsddb.error                     # Exported for anydbm\r
-\r
-def open(file, flag = 'r', mode=0666):\r
-    return bsddb.hashopen(file, flag, mode)\r