コード例 #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'))
コード例 #2
0
ファイル: Checks.py プロジェクト: calston/tums
 def check_branchmail(self):
     return WebUtils.refreshBranches(self.sysconf)
コード例 #3
0
 def check_branchmail(self):
     """ Does a branch-mail merge"""
     return WebUtils.refreshBranches(self.sysconf)