Ejemplo n.º 1
0
    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'))
Ejemplo n.º 2
0
 def check_branchmail(self):
     return WebUtils.refreshBranches(self.sysconf)
Ejemplo n.º 3
0
 def check_branchmail(self):
     """ Does a branch-mail merge"""
     return WebUtils.refreshBranches(self.sysconf)