]> granicus.if.org Git - python/commitdiff
We dont have dbm.bsd support anymore.
authorGeorg Brandl <georg@python.org>
Sun, 17 May 2009 08:42:58 +0000 (08:42 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 17 May 2009 08:42:58 +0000 (08:42 +0000)
Lib/dbm/__init__.py

index 19a7072628c3d2219127e072f3ffebf643923061..56555be78f33d1f8669242cc93dd57c5e5964c59 100644 (file)
@@ -179,9 +179,9 @@ def whichdb(filename):
     except struct.error:
         return ""
 
-    # Check for BSD hash
-    if magic in (0x00061561, 0x61150600):
-        return "dbm.bsd"
+    ## Check for BSD hash
+    #if magic in (0x00061561, 0x61150600):
+    #    return "dbm.bsd"
 
     # Unknown
     return ""