http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11647
Revision: 11647 Author: russblau Date: 2013-06-13 01:02:12 +0000 (Thu, 13 Jun 2013) Log Message: ----------- Fix TypeError introduced by rev 11595
Modified Paths: -------------- branches/rewrite/scripts/category_redirect.py
Modified: branches/rewrite/scripts/category_redirect.py =================================================================== --- branches/rewrite/scripts/category_redirect.py 2013-06-12 21:24:42 UTC (rev 11646) +++ branches/rewrite/scripts/category_redirect.py 2013-06-13 01:02:12 UTC (rev 11647) @@ -192,7 +192,7 @@ deadline = today + timedelta(days=-self.cooldown) if cat.editTime() is None: raise RuntimeError - return (deadline.strftime(dateformat) > cat.editTime()) + return (deadline > cat.editTime())
def get_log_text(self): """Rotate log text and return the most recent text."""
pywikipedia-svn@lists.wikimedia.org