changeset 1182:4be53c14845e

plugin groupblog: fixes return value of getLastGroupBlogsAtom when an error occured
author souliane <souliane@mailoo.org>
date Mon, 08 Sep 2014 16:53:41 +0200
parents ca8ce5a47969
children f36d7068a44b
files src/plugins/plugin_misc_groupblog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_misc_groupblog.py	Mon Sep 08 15:50:51 2014 +0200
+++ b/src/plugins/plugin_misc_groupblog.py	Mon Sep 08 16:53:41 2014 +0200
@@ -612,7 +612,7 @@
             d = self.host.plugins["XEP-0060"].getItems(client.item_access_pubsub, self.getNodeName(pub_jid),
                                                        max_items=max_items, profile_key=profile_key)
             d.addCallback(items2feed, pub_jid, client)
-            d.addErrback(lambda ignore: {})  # TODO: more complete error management (log !)
+            d.addErrback(lambda ignore: '')  # TODO: more complete error management (log !)
             return d
 
         #TODO: we need to use the server corresponding the the host of the jid