summaryrefslogtreecommitdiff
path: root/Lib/whichdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/whichdb.py')
-rw-r--r--Lib/whichdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/whichdb.py b/Lib/whichdb.py
index f077f87531..9071430b15 100644
--- a/Lib/whichdb.py
+++ b/Lib/whichdb.py
@@ -91,7 +91,7 @@ def whichdb(filename):
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