changeset 7c1604014731 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=7c1604014731
description: tryin to unpickle a GNU dbm file doesn't produce the same 
exception as bsddb. Handle both. Fixes #7013

diffstat:

 src/plugins/plugin.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e5b83d61366b -r 7c1604014731 src/plugins/plugin.py
--- a/src/plugins/plugin.py     Thu Oct 13 21:44:29 2011 +0200
+++ b/src/plugins/plugin.py     Thu Oct 13 22:23:40 2011 +0200
@@ -250,7 +250,7 @@
             try:
                 self.data = cPickle.load(fd)
                 fd.close()
-            except EOFError:
+            except:
                 fd.close()
                 try:
                     import shelve
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to