changeset b9469f323f55 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=b9469f323f55
description: prevent traceback
diffstat:
src/common/connection.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 0a69089d0236 -r b9469f323f55 src/common/connection.py
--- a/src/common/connection.py Tue Oct 06 17:35:25 2009 +0200
+++ b/src/common/connection.py Tue Oct 06 21:27:40 2009 +0200
@@ -1604,6 +1604,8 @@
self.connection.send(iq)
def _request_bookmarks_xml(self):
+ if not self.connection:
+ return
iq = common.xmpp.Iq(typ='get')
iq2 = iq.addChild(name='query',
namespace=common.xmpp.NS_PRIVATE)
iq2.addChild(name='storage', namespace='storage:bookmarks')
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits