#16135: Removal of OS/2 support (Remove OS2 and OS/2 references)

This commit is contained in:
Jesus Cea 2012-10-05 02:48:46 +02:00
parent 080a2c087e
commit f1af705720
18 changed files with 14 additions and 878 deletions

View file

@ -106,10 +106,8 @@ def whichdb(filename):
try:
f = io.open(filename + ".pag", "rb")
f.close()
# dbm linked with gdbm on OS/2 doesn't have .dir file
if not (ndbm.library == "GNU gdbm" and sys.platform == "os2emx"):
f = io.open(filename + ".dir", "rb")
f.close()
f = io.open(filename + ".dir", "rb")
f.close()
return "dbm.ndbm"
except IOError:
# some dbm emulations based on Berkeley DB generate a .db file