aboutsummaryrefslogtreecommitdiff
blob: 85c991b12a1fe62517c6ffdecedf6c6d2f5a4c8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
http://bugs.python.org/issue13007
http://hg.python.org/cpython/rev/14cafb8d1480

--- Lib/whichdb.py
+++ Lib/whichdb.py
@@ -91,7 +91,7 @@
         return ""
 
     # Check for GNU dbm
-    if magic == 0x13579ace:
+    if magic in (0x13579ace, 0x13579acd, 0x13579acf):
         return "gdbm"
 
     # Check for old Berkeley db hash file format v2