[sysadmin-bin] Fix how we grab the tickets and populate the description/lastupdated field accordingly
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Fix how we grab the tickets and populate the description/lastupdated field accordingly
- Date: Thu, 21 Nov 2013 14:05:55 +0000 (UTC)
commit 77a92aa38c8df8c9fd42fa5afa4332e6882fca06
Author: Andrea Veri <av gnome org>
Date: Thu Nov 21 15:05:49 2013 +0100
Fix how we grab the tickets and populate the description/lastupdated field accordingly
rt4/rt.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rt4/rt.py b/rt4/rt.py
index 01124b1..6f35dba 100755
--- a/rt4/rt.py
+++ b/rt4/rt.py
@@ -85,7 +85,7 @@ def write_stat_file(cursor, queue):
ticket = trans[int(tid)]
- table = u'<table border=1><tr><th>Ticket</th><th>State</th><th>Description</th><th>Last updated
on</th></tr>%s</table>' % u''.join([u'<tr><td><a
href="https://rt.gnome.org/Ticket/Display.html?id=%s">%s</a></td><td>%s</td><td>%s</td></tr>' % (ticket,
ticket, tickets[ticket]['Status'], tickets[description], tickets[lastupdated]) for ticket in sorted(tickets)])
+ table = u'<table border=1><tr><th>Ticket</th><th>State</th><th>Description</th><th>Last updated
on</th></tr>%s</table>' % u''.join([u'<tr><td><a
href="https://rt.gnome.org/Ticket/Display.html?id=%s">%s</a></td><td>%s</td><td>%s</td><td>%s</td></tr>' %
(ticket, ticket, tickets[ticket]['Status'], description[ticket], lastupdated[ticket]) for ticket in
sorted(tickets)])
output = codecs.open (OUTPUT, 'w', 'utf-8')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]