It was in a validate_ticket callback in the ticketvalidator plugin.
def validate_ticket(self, req, ticket):
"""Make sure required fields for the next state have been
the ticket will be in have been entered."""
state = self._get_state(req, ticket)
for t in ticket:
self.env.log.info(t)
________________________________
From: [email protected] [mailto:[email protected]]
On Behalf Of Noah Kantrowitz
Sent: Monday, June 08, 2009 2:47 PM
To: [email protected]
Subject: [Trac] Re: Ticket print?
You would have to be far more specific. Where is this?
--Noah
From: [email protected] [mailto:[email protected]]
On Behalf Of Dan Winslow
Sent: Monday, June 08, 2009 11:32 AM
To: [email protected]
Subject: [Trac] Ticket print?
I did this and my trac process went crazy, endlessly dumping lines to
log.
for t in ticket:
self.env.log.info(t)
Dan Winslow
Director of Information Technology, AIM INSTITUTE
1905 Harney Street, Suite 700
Omaha, NE 68102
402-345-5025 x156
[email protected]
www.aiminstitute.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---