tryin to unpickle a GNU dbm file doesn't produce the same exception as bsddb. Handle both. Fixes #7013
This commit is contained in:
parent
bb3852418e
commit
d37bdc7a89
|
@ -250,7 +250,7 @@ class GajimPluginConfig():
|
||||||
try:
|
try:
|
||||||
self.data = cPickle.load(fd)
|
self.data = cPickle.load(fd)
|
||||||
fd.close()
|
fd.close()
|
||||||
except EOFError:
|
except:
|
||||||
fd.close()
|
fd.close()
|
||||||
try:
|
try:
|
||||||
import shelve
|
import shelve
|
||||||
|
|
Loading…
Reference in New Issue