def returnAction(self, data): Utils.log.msg('%s added branch server %s' % (self.avatarId.username, repr(data))) d = WebUtils.refreshBranches(self.sysconf) if type(d) == bool: return url.root.child('Mailserver') else: return d.addBoth(lambda _: url.root.child('Mailserver'))
def check_branchmail(self): return WebUtils.refreshBranches(self.sysconf)
def check_branchmail(self): """ Does a branch-mail merge""" return WebUtils.refreshBranches(self.sysconf)