Revision: 4028
Author: btongminh
Date: 2007-08-11 20:43:46 +0000 (Sat, 11 Aug 2007)
Log Message:
-----------
Dropping a fix that was introduced in r3837 & r3689 and caused a lot of problems
lately. The problem it solved was also fixed in r3838, but afterwards forgotten.
Modified Paths:
--------------
trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py 2007-08-11 20:20:40 UTC (rev 4027)
+++ trunk/pywikipedia/wikipedia.py 2007-08-11 20:43:46 UTC (rev 4028)
@@ -1045,10 +1045,11 @@
"""
# Fetch a page to get an edit token. If we already have
# fetched a page, this will do nothing, because get() is cached.
- try:
- self.site().sandboxpage.get(force = True, get_redirect = True)
- except NoPage:
- pass
+ # Disabled in r4027
+ #try:
+ # self.site().sandboxpage.get(force = True, get_redirect = True)
+ #except NoPage:
+ # pass
# If there is an unchecked edit restriction, we need to load the page
if self._editrestriction:
Show replies by date