Switch to unified view

a/scripts/trac_export.py b/scripts/trac_export.py
...
...
235
    def __iter__(self):
235
    def __iter__(self):
236
        return self
236
        return self
237
237
238
    def next(self):
238
    def next(self):
239
        while True:
239
        while True:
240
            # queue empty, try to fetch more
241
            if len(self.ticket_queue) == 0:
242
                self.ticket_queue = self.next_ticket_ids()
243
            # there aren't any more, we're really done
240
            if len(self.ticket_queue) == 0:
244
            if len(self.ticket_queue) == 0:
241
                raise StopIteration
245
                raise StopIteration
242
            id, extra = self.ticket_queue.pop(0)
246
            id, extra = self.ticket_queue.pop(0)
243
            if id >= self.start_id:
247
            if id >= self.start_id:
244
                break
248
                break