Switch to unified view

a/scripts/fix-tracker-thread-subjects.py b/scripts/fix-tracker-thread-subjects.py
...
...
21
        if not all_tickets.count(): continue
21
        if not all_tickets.count(): continue
22
        for ticket in all_tickets:
22
        for ticket in all_tickets:
23
            thread = ticket.get_discussion_thread()
23
            thread = ticket.get_discussion_thread()
24
            thread.subject = ''
24
            thread.subject = ''
25
        if test:
25
        if test:
26
            log.info('... would fix ticket threads in %s', p.shortname)
26
            log.info('... would fix ticket threads in %s', project.shortname)
27
        else:
27
        else:
28
            log.info('... fixing ticket threads in %s', p.shortname)
28
            log.info('... fixing ticket threads in %s', project.shortname)
29
            session(project).flush()
29
            session(project).flush()
30
        session(project).clear()
30
        session(project).clear()
31
31
32
if __name__ == '__main__':
32
if __name__ == '__main__':
33
    main()
33
    main()