Switch to side-by-side view

--- a/scripts/trac_export.py
+++ b/scripts/trac_export.py
@@ -237,6 +237,10 @@
 
     def next(self):
         while True:
+            # queue empty, try to fetch more
+            if len(self.ticket_queue) == 0:
+                self.ticket_queue = self.next_ticket_ids()
+            # there aren't any more, we're really done
             if len(self.ticket_queue) == 0:
                 raise StopIteration
             id, extra = self.ticket_queue.pop(0)