Revision: 6025
Author: filnik
Date: 2008-10-26 14:51:32 +0000 (Sun, 26 Oct 2008)
Log Message:
-----------
None -> [] in the getTemplates() function
Modified Paths:
--------------
trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py 2008-10-26 14:14:07 UTC (rev 6024)
+++ trunk/pywikipedia/wikipedia.py 2008-10-26 14:51:32 UTC (rev 6025)
@@ -938,7 +938,7 @@
try:
templates =
data['query']['pages'][pageid]['templates']
except KeyError:
- return None
+ return list()
templatesFound = list()
for template in templates:
templateName = template['title']
Show replies by date