summaryrefslogtreecommitdiffstats
path: root/Lib/dbm
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-05-17 08:42:58 (GMT)
committerGeorg Brandl <georg@python.org>2009-05-17 08:42:58 (GMT)
commit170fb040384ee629a5c02cbdba2670675f5659fc (patch)
tree82528e91ddc2550605754b8097efe3a8a512bff9 /Lib/dbm
parent8126914398503b3774112d6ad9946a342cc8c853 (diff)
downloadcpython-170fb040384ee629a5c02cbdba2670675f5659fc.zip
cpython-170fb040384ee629a5c02cbdba2670675f5659fc.tar.gz
cpython-170fb040384ee629a5c02cbdba2670675f5659fc.tar.bz2
We dont have dbm.bsd support anymore.
Diffstat (limited to 'Lib/dbm')
-rw-r--r--Lib/dbm/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/dbm/__init__.py b/Lib/dbm/__init__.py
index 19a7072..56555be 100644
--- a/Lib/dbm/__init__.py
+++ b/Lib/dbm/__init__.py
@@ -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 ""