tryin to unpickle a GNU dbm file doesn't produce the same exception as bsddb. Handle both. Fixes #7013

This commit is contained in:
Yann Leboulanger 2011-10-13 22:23:40 +02:00
parent bb3852418e
commit d37bdc7a89
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ class GajimPluginConfig():
try:
self.data = cPickle.load(fd)
fd.close()
except EOFError:
except:
fd.close()
try:
import shelve