示例#1
0
文件: match.py 项目: ecolitan/fatics
 def decline_logout(self):
     Offer.decline_logout(self)
     self.b.write_('Challenge from %s removed.\n',
         (self.a.name,))
     self.a.write_('%s, whom you were challenging, has departed.\n',
         (self.b.name,))
     self.a.write_('Challenge to %s withdrawn.\n',
         (self.b.name,))
示例#2
0
 def decline_logout(self):
     Offer.decline_logout(self)
     self.b.write(_('Challenge from %s removed.\n') % (self.a.name, ))
     self.a.write_(
         '\n%s, whom you were challenging, has departed.\nChallenge to %s withdrawn.',
         (self.b.name, self.b.name))
     if self.variant_name == 'bughouse':
         assert (self.a.session.partner)
         self.a.session.partner.write_(
             '\n%s, whom your partner was challenging, has departed.\n',
             (self.b.name, ))
示例#3
0
 def decline_logout(self):
     Offer.decline_logout(self)
     self.a.write_(
         '%s, whom you were offering a partnership with, has departed.\n',
         (self.b.name, ))
     self.b.write_('Partnership offer from %s removed.\n', (self.a.name, ))
示例#4
0
 def decline_logout(self):
     Offer.decline_logout(self)
     self.a.write_('%s, whom you were offering a partnership with, has departed.\n', (self.b.name,))
     self.b.write_('Partnership offer from %s removed.\n', (self.a.name,))
示例#5
0
 def decline_logout(self):
     Offer.decline_logout(self)
     self.b.write_('Challenge from %s removed.\n', (self.a.name, ))
     self.a.write_('%s, whom you were challenging, has departed.\n',
                   (self.b.name, ))
     self.a.write_('Challenge to %s withdrawn.\n', (self.b.name, ))