Revision: 8832
Author: valhallasw
Date: 2011-01-15 17:50:30 +0000 (Sat, 15 Jan 2011)
Log Message:
-----------
Bugfix: cats should be a list of categories, not a generator.
Modified Paths:
--------------
branches/rewrite/scripts/category.py
Modified: branches/rewrite/scripts/category.py
===================================================================
--- branches/rewrite/scripts/category.py 2011-01-15 17:50:22 UTC (rev 8831)
+++ branches/rewrite/scripts/category.py 2011-01-15 17:50:30 UTC (rev 8832)
@@ -486,7 +486,7 @@
text = self.load(page)
if text is None:
return
- cats = page.categories()
+ cats = [c for c in page.categories()]
# Show the title of the page we're working on.
# Highlight the title in purple.
pywikibot.output(
Show replies by date