comparison src/plugins/plugin_misc_groupblog.py @ 1294:8aa4dab01206

plugin groupblog: fixes bad errback default value
author souliane <souliane@mailoo.org>
date Fri, 30 Jan 2015 14:08:01 +0100
parents 1c90a913fbb9
children 069ad98b360d
comparison
equal deleted inserted replaced
1287:2eaa98f7b84c 1294:8aa4dab01206
872 @param eb (callable): errback method to be applied on items 872 @param eb (callable): errback method to be applied on items
873 @param profile_key (str): %(doc_profile_key)s 873 @param profile_key (str): %(doc_profile_key)s
874 """ 874 """
875 self.parent = parent 875 self.parent = parent
876 self.cb = cb 876 self.cb = cb
877 self.eb = (lambda dummy: []) if eb is None else eb 877 self.eb = (lambda dummy: ([], {})) if eb is None else eb
878 self.profile_key = profile_key 878 self.profile_key = profile_key
879 879
880 def get(self, node, item_ids=None, sub_id=None, rsm=None): 880 def get(self, node, item_ids=None, sub_id=None, rsm=None):
881 """ 881 """
882 @param node (str): node identifier. 882 @param node (str): node identifier.