[#8375] iterator compatibility for py3
diff --git a/Allura/allura/lib/utils.py b/Allura/allura/lib/utils.py
index a6f782e..9a7063a 100644
--- a/Allura/allura/lib/utils.py
+++ b/Allura/allura/lib/utils.py
@@ -637,6 +637,7 @@
 
     def next(self):
         raise StopIteration
+    __next__ = next
 
     def options(self, **kw):
         return self
diff --git a/Allura/allura/scripts/trac_export.py b/Allura/allura/scripts/trac_export.py
index b5934d8..4c2e937 100644
--- a/Allura/allura/scripts/trac_export.py
+++ b/Allura/allura/scripts/trac_export.py
@@ -293,6 +293,7 @@
             if id >= self.start_id:
                 break
         return self.get_ticket(id, extra)
+    __next__ = next
 
     def clean_missing_wiki_links(self, doc):
         for link in doc.findAll('a', 'missing wiki'):