Skip to content

Commit 170fb04

Browse files
committed
We dont have dbm.bsd support anymore.
1 parent 8126914 commit 170fb04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/dbm/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ def whichdb(filename):
179179
except struct.error:
180180
return ""
181181

182-
# Check for BSD hash
183-
if magic in (0x00061561, 0x61150600):
184-
return "dbm.bsd"
182+
## Check for BSD hash
183+
#if magic in (0x00061561, 0x61150600):
184+
# return "dbm.bsd"
185185

186186
# Unknown
187187
return ""

0 commit comments

Comments
 (0)