Example #1
0
 def dismissTankman(self, tmanInvID):
     tankman = g_itemsCache.items.getTankman(int(tmanInvID))
     proc = TankmanDismiss(tankman)
     result = yield proc.request()
     if len(result.userMsg):
         SystemMessages.g_instance.pushMessage(result.userMsg,
                                               type=result.sysMsgType)
Example #2
0
 def dismissTankman(self, tmanInvID):
     tankman = g_itemsCache.items.getTankman(int(tmanInvID))
     proc = TankmanDismiss(tankman)
     result = yield proc.request()
     if len(result.userMsg):
         SystemMessages.g_instance.pushMessage(result.userMsg, type=result.sysMsgType)
 def dismissTankman(self, tmanInvID):
     tankman = self.__getTankmanByInvID(int(tmanInvID))
     proc = TankmanDismiss(tankman)
     result = yield proc.request()
     SystemMessages.pushMessages(result)