Bugs item #3309460, was opened at 2011-05-30 18:32
Message generated for change (Comment added) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=330946…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: rewrite
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Morten Wang (nettrom)
Assigned to: Russell Blau (russblau)
Summary: page.editTime() fails when using site.allpages()
Initial Comment:
Iterating over site.allpages() (in my case with namespace=0 and filterredir=False) causes
a call to page.editTime() to fail with a KeyError. Closer inspection shows that _revid is
set for pages in the generator, but _revisions is an empty dictionary. So latestRevision()
returns _revid with no corresponding revision in _revisions, and the KeyError is thrown.
I'm running the rewrite branch, revision 9274, on Python 2.7 on Linux.
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date:
2011-07-15 10:29
Message:
Fixed in r9379
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=330946…