Switch to unified view

a/Allura/push_re.py b/Allura/push_re.py
...
...
104
        for ref, commits in sorted(ticket_groups.iteritems()):
104
        for ref, commits in sorted(ticket_groups.iteritems()):
105
            ticket_num = ref[2:-1]
105
            ticket_num = ref[2:-1]
106
            ticket = cli.request(
106
            ticket = cli.request(
107
                'GET',
107
                'GET',
108
                urljoin('/rest/p/allura/tickets/', str(ticket_num)) + '/')['ticket']
108
                urljoin('/rest/p/allura/tickets/', str(ticket_num)) + '/')['ticket']
109
            if ticket is None: continue
109
            verb = {
110
            verb = {
110
                'validation': 'Fix',
111
                'validation': 'Fix',
111
                'closed': 'Fix' }.get(ticket['status'], 'Address')
112
                'closed': 'Fix' }.get(ticket['status'], 'Address')
112
            yield ' * %s %s: %s\n' % (verb, ref, ticket['summary'])
113
            yield ' * %s %s: %s\n' % (verb, ref, ticket['summary'])
113
    except:
114
    except:
114
        print '*** ERROR CONTACTING FORGE FOR TICKET SUMMARIES ***'
115
        print '*** ERROR CONTACTING FORGE FOR TICKET SUMMARIES ***'
116
        raise
115
        for ci in changes:
117
        for ci in changes:
116
            yield ci
118
            yield ci
117
119
118
def command(*args):
120
def command(*args):
119
    if len(args) == 1 and isinstance(args[0], basestring):
121
    if len(args) == 1 and isinstance(args[0], basestring):