Пример #1
0
 def delete_all_tickets(self):
     """Delete all the tickets in the environment"""
     atm = AgiloTicketModelManager(self.env)
     tickets = atm.select()
     for t in tickets:
         try:
             atm.delete(t)
         except Exception, e:
             print exception_to_unicode(e)
Пример #2
0
 def delete_all_tickets(self):
     """Delete all the tickets in the environment"""
     atm = AgiloTicketModelManager(self.env)
     tickets = atm.select()
     for t in tickets:
         try:
             atm.delete(t)
         except Exception, e:
             print exception_to_unicode(e)